mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
NX/VITA: Remove hardcoded Quake difficulty spawnflags
This commit is contained in:
parent
e7458c4824
commit
d49f680b17
1 changed files with 0 additions and 19 deletions
|
@ -995,25 +995,6 @@ void ED_LoadFromFile (const 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