X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fsv_main.qc;h=623b54651cb2c588d2cbb3c90cd6924661f83fb7;hp=282916b26a3a635ae35dbf37a1a34358a492f67c;hb=11b5d310f4714debb77c3ccdde963c76555a3aa5;hpb=981bf0bd7fcd4f69b3ae896a79b2095ff3c81a0d diff --git a/qcsrc/server/sv_main.qc b/qcsrc/server/sv_main.qc index 282916b26a..623b54651c 100644 --- a/qcsrc/server/sv_main.qc +++ b/qcsrc/server/sv_main.qc @@ -126,7 +126,7 @@ void CreatureFrame (void) else dprint(ftos(trace_dphitq3surfaceflags), "\n"); */ - if not(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NOSTEPS) + if (!(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NOSTEPS)) { if(trace_dphitq3surfaceflags & Q3SURFACEFLAG_METALSTEPS) GlobalSound(globalsound_metalstep, CH_PLAYER, VOICETYPE_PLAYERSOUND); @@ -250,7 +250,7 @@ void SV_OnEntityPreSpawnFunction() { if (self) if (self.gametypefilter != "") - if not(isGametypeInFilter(MapInfo_LoadedGametype, teamplay, have_team_spawns, self.gametypefilter)) + if (!isGametypeInFilter(MapInfo_LoadedGametype, teamplay, have_team_spawns, self.gametypefilter)) { remove(self); return; @@ -350,14 +350,14 @@ void SV_OnEntityPreSpawnFunction() else { k = s; - if not(cvar(k)) + if (!cvar(k)) goto cvar_fail; } } inv = !inv; :cvar_fail // now inv is 1 if we want to keep the item, and 0 if we want to get rid of it - if not(inv) + if (!inv) { //print("cvarfilter fail\n"); remove(self);