]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/secret.qc
Get rid of if not, step 1.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / secret.qc
index 9af13eca28df58d6860bce3edda0c856efd20f66..64c91685e5d3c767da2b0a6e4ba16f6dccdcdea1 100644 (file)
@@ -10,7 +10,7 @@ void secrets_setstatus() {
  */
 void trigger_secret_touch() {
        // only a player can trigger this
-       if not(IS_PLAYER(other))
+       if (!IS_PLAYER(other))
                return;
        
        // update secrets found counter
@@ -52,7 +52,7 @@ void spawnfunc_trigger_secret() {
        
        // set default sound
        if (self.noise == "")
-       if not(self.sounds)
+       if (!self.sounds)
                self.sounds = 1; // misc/secret.wav
        
        // this entity can't be a target itself!!!!