mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-03-13 04:24:24 +00:00
Single player support
This commit is contained in:
parent
934ace091f
commit
cefeaf6ecf
1 changed files with 0 additions and 4 deletions
|
@ -1027,17 +1027,14 @@ void ED_LoadFromFile (char *data)
|
||||||
data = ED_ParseEdict (data, ent);
|
data = ED_ParseEdict (data, ent);
|
||||||
|
|
||||||
// remove things from different skill levels or deathmatch
|
// remove things from different skill levels or deathmatch
|
||||||
#ifndef QUAKEWORLD
|
|
||||||
if (deathmatch->value)
|
if (deathmatch->value)
|
||||||
{
|
{
|
||||||
#endif
|
|
||||||
if (((int)ent->v.spawnflags & SPAWNFLAG_NOT_DEATHMATCH))
|
if (((int)ent->v.spawnflags & SPAWNFLAG_NOT_DEATHMATCH))
|
||||||
{
|
{
|
||||||
ED_Free (ent);
|
ED_Free (ent);
|
||||||
inhibit++;
|
inhibit++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#ifndef QUAKEWORLD
|
|
||||||
}
|
}
|
||||||
else if ((current_skill == 0 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_EASY))
|
else if ((current_skill == 0 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_EASY))
|
||||||
|| (current_skill == 1 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_MEDIUM))
|
|| (current_skill == 1 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_MEDIUM))
|
||||||
|
@ -1047,7 +1044,6 @@ void ED_LoadFromFile (char *data)
|
||||||
inhibit++;
|
inhibit++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// immediately call spawn function
|
// immediately call spawn function
|
||||||
|
|
Loading…
Reference in a new issue