]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't keep spamming jetpack effect/sound after the match ends
authorMario <mario.mario@y7mail.com>
Wed, 7 May 2014 19:24:04 +0000 (05:24 +1000)
committerMario <mario.mario@y7mail.com>
Wed, 7 May 2014 19:24:04 +0000 (05:24 +1000)
qcsrc/server/cl_client.qc

index 691c4930e995978bc50135e3185260b659fd6979..d06bc96bed3d933ca54e9d8c74c25917f9dcfa03 100644 (file)
@@ -1425,7 +1425,7 @@ void player_powerups (void)
        // add a way to see what the items were BEFORE all of these checks for the mutator hook
        olditems = self.items;
 
-       if((self.items & IT_USING_JETPACK) && !self.deadflag)
+       if((self.items & IT_USING_JETPACK) && !self.deadflag && !gameover)
                self.modelflags |= MF_ROCKET;
        else
                self.modelflags &= ~MF_ROCKET;