diff --git a/dlls/buttons.cpp b/dlls/buttons.cpp index 44f0f230..4f775908 100644 --- a/dlls/buttons.cpp +++ b/dlls/buttons.cpp @@ -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");