mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-25 13:21:18 +00:00
Remove hardcoded Quake difficulty spawnflags
This commit is contained in:
parent
c96644e1b0
commit
6399b49edc
1 changed files with 0 additions and 19 deletions
|
@ -974,25 +974,6 @@ void ED_LoadFromFile (char *data)
|
||||||
ent = ED_Alloc ();
|
ent = ED_Alloc ();
|
||||||
data = ED_ParseEdict (data, ent);
|
data = ED_ParseEdict (data, ent);
|
||||||
|
|
||||||
// remove things from different skill levels or deathmatch
|
|
||||||
if (deathmatch.value)
|
|
||||||
{
|
|
||||||
if (((int)ent->v.spawnflags & SPAWNFLAG_NOT_DEATHMATCH))
|
|
||||||
{
|
|
||||||
ED_Free (ent);
|
|
||||||
inhibit++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if ((current_skill == 0 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_EASY))
|
|
||||||
|| (current_skill == 1 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_MEDIUM))
|
|
||||||
|| (current_skill >= 2 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_HARD)) )
|
|
||||||
{
|
|
||||||
ED_Free (ent);
|
|
||||||
inhibit++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// immediately call spawn function
|
// immediately call spawn function
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue