mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 06:45:31 +03:00
Fixed global state counters not being initialized
This commit is contained in:
parent
deacb7df61
commit
3c7d0f86b3
@ -131,6 +131,9 @@ public:
|
|||||||
entity.name = m_nameList.AddString( pGlobalname );
|
entity.name = m_nameList.AddString( pGlobalname );
|
||||||
entity.levelName = m_nameList.AddString( pMapName );
|
entity.levelName = m_nameList.AddString( pMapName );
|
||||||
entity.state = state;
|
entity.state = state;
|
||||||
|
#ifdef MAPBASE
|
||||||
|
entity.counter = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
int index = GetIndex( m_nameList.String( entity.name ) );
|
int index = GetIndex( m_nameList.String( entity.name ) );
|
||||||
if ( index >= 0 )
|
if ( index >= 0 )
|
||||||
|
Loading…
Reference in New Issue
Block a user