engine: fix gameinfo parsing
This commit is contained in:
parent
ac5bb86301
commit
409eee3bb4
1 changed files with 1 additions and 1 deletions
|
@ -1565,7 +1565,7 @@ void FS_ParseGenericGameInfo( gameinfo_t *GameInfo, const char *buf, const qbool
|
||||||
pfile = COM_ParseFile( pfile, token );
|
pfile = COM_ParseFile( pfile, token );
|
||||||
GameInfo->max_edicts = Q_atoi( 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 );
|
pfile = COM_ParseFile( pfile, GameInfo->mp_entity );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue