mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-24 18:50:14 +00:00
whitespace
This commit is contained in:
parent
515f449a39
commit
0d8ac0dbdd
1 changed files with 9 additions and 6 deletions
|
@ -73,16 +73,19 @@ prune_edict (progs_t *pr, edict_t *ent)
|
||||||
{
|
{
|
||||||
// remove things from different skill levels or deathmatch
|
// remove things from different skill levels or deathmatch
|
||||||
if (deathmatch->int_val) {
|
if (deathmatch->int_val) {
|
||||||
if (((int) SVFIELD (ent, spawnflags, float) & SPAWNFLAG_NOT_DEATHMATCH)) {
|
if (((int) SVFIELD (ent, spawnflags, float)
|
||||||
|
& SPAWNFLAG_NOT_DEATHMATCH)) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
} else if (
|
} else if ((current_skill == 0
|
||||||
(current_skill == 0
|
&& ((int) SVFIELD (ent, spawnflags, float)
|
||||||
&& ((int) SVFIELD (ent, spawnflags, float) & SPAWNFLAG_NOT_EASY))
|
& SPAWNFLAG_NOT_EASY))
|
||||||
|| (current_skill == 1
|
|| (current_skill == 1
|
||||||
&& ((int) SVFIELD (ent, spawnflags, float) & SPAWNFLAG_NOT_MEDIUM))
|
&& ((int) SVFIELD (ent, spawnflags, float)
|
||||||
|
& SPAWNFLAG_NOT_MEDIUM))
|
||||||
|| (current_skill >= 2
|
|| (current_skill >= 2
|
||||||
&& ((int) SVFIELD (ent, spawnflags, float) & SPAWNFLAG_NOT_HARD))) {
|
&& ((int) SVFIELD (ent, spawnflags, float)
|
||||||
|
& SPAWNFLAG_NOT_HARD))) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue