mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-08 11:38:01 +03:00
Fixed string constants
This commit is contained in:
parent
ba931cbedf
commit
3ca09613e1
4 changed files with 11 additions and 9 deletions
|
@ -123,9 +123,10 @@ enum
|
|||
STRING_TURNDONE,
|
||||
STRING_ANIM_NO_KILLED_SCR,
|
||||
STRING_MG42, STRING_MP40,
|
||||
STRING_REMOVE, STRING_DELETE,
|
||||
STRING_AUTO,
|
||||
STRING_BOTH,
|
||||
STRING_RUNANDSHOOT,
|
||||
STRING_RESPAWN,
|
||||
STRING_NONE,
|
||||
STRING_LENGTH_
|
||||
};
|
||||
|
||||
|
|
|
@ -3631,7 +3631,7 @@ void Listener::Unregister( const_str name )
|
|||
|
||||
if( listener )
|
||||
{
|
||||
if( listener == this && ( name == STRING_REMOVE || name == STRING_DELETE || bDeleteSelf ) )
|
||||
if( listener == this && ( bDeleteSelf ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue