mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 06:00:33 +01:00
engine: fix gameinfo parsing
This commit is contained in:
parent
ac5bb86301
commit
409eee3bb4
@ -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…
Reference in New Issue
Block a user