mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +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
|
||||
if (deathmatch->int_val) {
|
||||
if (((int) SVFIELD (ent, spawnflags, float) & SPAWNFLAG_NOT_DEATHMATCH)) {
|
||||
if (((int) SVFIELD (ent, spawnflags, float)
|
||||
& SPAWNFLAG_NOT_DEATHMATCH)) {
|
||||
return 1;
|
||||
}
|
||||
} else if (
|
||||
(current_skill == 0
|
||||
&& ((int) SVFIELD (ent, spawnflags, float) & SPAWNFLAG_NOT_EASY))
|
||||
} else if ((current_skill == 0
|
||||
&& ((int) SVFIELD (ent, spawnflags, float)
|
||||
& SPAWNFLAG_NOT_EASY))
|
||||
|| (current_skill == 1
|
||||
&& ((int) SVFIELD (ent, spawnflags, float) & SPAWNFLAG_NOT_MEDIUM))
|
||||
&& ((int) SVFIELD (ent, spawnflags, float)
|
||||
& SPAWNFLAG_NOT_MEDIUM))
|
||||
|| (current_skill >= 2
|
||||
&& ((int) SVFIELD (ent, spawnflags, float) & SPAWNFLAG_NOT_HARD))) {
|
||||
&& ((int) SVFIELD (ent, spawnflags, float)
|
||||
& SPAWNFLAG_NOT_HARD))) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue