Browse Source

engine: server: remove legacy light -> light_level entity key rewrite

pull/2/head
Alibek Omarov 1 year ago
parent
commit
68377435c8
  1. 6
      engine/server/sv_game.c

6
engine/server/sv_game.c

@ -4967,12 +4967,6 @@ static qboolean SV_ParseEdict( char **pfile, edict_t *ent ) @@ -4967,12 +4967,6 @@ static qboolean SV_ParseEdict( char **pfile, edict_t *ent )
pkvd[i].szValue = copystring( temp );
}
#endif
if( !Q_strcmp( pkvd[i].szKeyName, "light" ))
{
Mem_Free( pkvd[i].szKeyName );
pkvd[i].szKeyName = copystring( "light_level" );
}
if( !pkvd[i].fHandled )
{
pkvd[i].szClassName = classname;

Loading…
Cancel
Save