Skip to content

Commit

Permalink
engine: server: remove legacy light -> light_level entity key rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Nov 25, 2023
1 parent 652b180 commit 6837743
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions engine/server/sv_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6837743

Please sign in to comment.