]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix it here too
authorMario <zacjardine@y7mail.com>
Sun, 12 Jul 2015 02:00:22 +0000 (12:00 +1000)
committerMario <zacjardine@y7mail.com>
Sun, 12 Jul 2015 02:00:22 +0000 (12:00 +1000)
qcsrc/server/cl_client.qc

index 4b9ce08290277055e0ed1d403f8212123bd6a739..8813456a35b540b393aca3533d8ba244bb4f6165 100644 (file)
@@ -2172,8 +2172,8 @@ void SpectatorThink()
 {
        if ( self.impulse )
        {
-               MinigameImpulse(self.impulse);
-               self.impulse = 0;
+               if(MinigameImpulse(self.impulse))
+                       self.impulse = 0;
        }
        if (self.flags & FL_JUMPRELEASED) {
                if (self.BUTTON_JUMP && !self.version_mismatch) {