Browse Source

engine: fix gameinfo parsing

pull/2/head
Aimless Wanderer 5 years ago committed by Alibek Omarov
parent
commit
409eee3bb4
  1. 2
      engine/common/filesystem.c

2
engine/common/filesystem.c

@ -1565,7 +1565,7 @@ void FS_ParseGenericGameInfo( gameinfo_t *GameInfo, const char *buf, const qbool @@ -1565,7 +1565,7 @@ void FS_ParseGenericGameInfo( gameinfo_t *GameInfo, const char *buf, const qbool
pfile = COM_ParseFile( pfile, token );
GameInfo->max_edicts = Q_atoi( token );
}
else if( !Q_stricmp( token, "mpentity" ))
else if( !Q_stricmp( token, isGameInfo ? "mp_entity" : "mpentity" ))
{
pfile = COM_ParseFile( pfile, GameInfo->mp_entity );
}

Loading…
Cancel
Save