be safe while doing copy to EntityClass::flagnames
This commit is contained in:
@@ -856,7 +856,7 @@ void SpawnFlags_setEntityClass( EntityClass* eclass ){
|
||||
// do a first pass to count the spawn flags, don't touch the widgets, we don't know in what state they are
|
||||
for ( int i = 0; i < MAX_FLAGS; i++ )
|
||||
{
|
||||
if ( eclass->flagnames[i][0] != 0 && strcmp( eclass->flagnames[i],"-" ) ) {
|
||||
if ( eclass->flagnames[i][0] != 0 && strcmp( eclass->flagnames[i], "-" ) ) {
|
||||
spawn_table[g_spawnflag_count++] = i;
|
||||
}
|
||||
// hide all boxes
|
||||
|
||||
Reference in New Issue
Block a user