Browse Source

server: buttons: env_state: fix debug output

sohl1.2
Alibek Omarov 2 years ago
parent
commit
d396ccf622
  1. 2
      dlls/buttons.cpp

2
dlls/buttons.cpp

@ -310,9 +310,11 @@ void CEnvState::Think( void ) @@ -310,9 +310,11 @@ void CEnvState::Think( void )
{
ALERT(at_console,"DEBUG: env_state \"%s\" turned itself off",STRING(pev->targetname));
if (pev->target)
{
ALERT(at_console,": firing %s",STRING(pev->target));
if (pev->noise2)
ALERT(at_console," and %s",STRING(pev->noise2));
}
else if (pev->noise2)
ALERT(at_console,": firing %s",STRING(pev->noise2));
ALERT(at_console,".\n");

Loading…
Cancel
Save