]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_jumppads.qc
Unify boolean constants
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_jumppads.qc
index 2b939028cce8603dc3e00d1e8632f69ca1d7fd92..99a58a4b78fb53117614ff290a405627be90fcb1 100644 (file)
@@ -182,10 +182,10 @@ void trigger_push_touch()
                {
                        float i;
                        float found;
-                       found = FALSE;
+                       found = false;
                        for(i = 0; i < other.jumppadcount && i < NUM_JUMPPADSUSED; ++i)
                                if(other.(jumppadsused[i]) == self)
-                                       found = TRUE;
+                                       found = true;
                        if(!found)
                        {
                                other.(jumppadsused[other.jumppadcount % NUM_JUMPPADSUSED]) = self;
@@ -201,10 +201,10 @@ void trigger_push_touch()
                                other.lastteleporttime = time;
 
                        if (other.deadflag == DEAD_NO)
-                               animdecide_setaction(other, ANIMACTION_JUMP, TRUE);
+                               animdecide_setaction(other, ANIMACTION_JUMP, true);
                }
                else
-                       other.jumppadcount = TRUE;
+                       other.jumppadcount = true;
 
                // reset tracking of who pushed you into a hazard (for kill credit)
                other.pushltime = 0;