forced respawn in CTS
authorFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 18:42:15 +0000 (20:42 +0200)
committerFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 18:42:15 +0000 (20:42 +0200)
qcsrc/server/cl_client.qc

index c9cea7d..c1005d0 100644 (file)
@@ -2723,7 +2723,7 @@ void PlayerPreThink (void)
                                if(frametime)
                                        player_anim();
                                button_pressed = (self.BUTTON_ATCK || self.BUTTON_JUMP || self.BUTTON_ATCK2 || self.BUTTON_HOOK || self.BUTTON_USE);
-                               force_respawn = (g_lms || (g_ca) || autocvar_g_forced_respawn);
+                               force_respawn = (g_lms || g_ca || g_cts || autocvar_g_forced_respawn);
                                if (self.deadflag == DEAD_DYING)
                                {
                                        if(force_respawn)