mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-11 20:11:33 +03:00
Fixed global state counters not being initialized
This commit is contained in:
@@ -131,6 +131,9 @@ public:
|
||||
entity.name = m_nameList.AddString( pGlobalname );
|
||||
entity.levelName = m_nameList.AddString( pMapName );
|
||||
entity.state = state;
|
||||
#ifdef MAPBASE
|
||||
entity.counter = 0;
|
||||
#endif
|
||||
|
||||
int index = GetIndex( m_nameList.String( entity.name ) );
|
||||
if ( index >= 0 )
|
||||
|
||||
Reference in New Issue
Block a user