From: Rudolf Polzer Date: Thu, 19 Jan 2012 13:03:06 +0000 (+0100) Subject: clear superweapons_finished once lost X-Git-Tag: xonotic-v0.6.0~111^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7863c0cac7cb6de807e2ae4fa37d49f846defa76;p=xonotic%2Fxonotic-data.pk3dir.git clear superweapons_finished once lost --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 607e93c39..f4666eb13 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -1925,7 +1925,14 @@ void player_powerups (void) sprint(self, "^3You now have a superweapon\n"); } else + { + self.superweapons_finished = 0; self.weapons &~= WEPBIT_SUPERWEAPONS; // just in case + } + } + else + { + self.superweapons_finished = 0; } }