]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix http://dev.xonotic.org/issues/785 (wrong hud after spectating a vehicle & joining)
authorJakob MG <jakob_mg@hotmail.com>
Wed, 26 Oct 2011 05:04:05 +0000 (07:04 +0200)
committerJakob MG <jakob_mg@hotmail.com>
Wed, 26 Oct 2011 05:04:05 +0000 (07:04 +0200)
qcsrc/server/cl_client.qc

index de4c7431d5aafad3db68fe68f1da5e7ad5208070..eb32e79cd9c5611f5a315669e737a800c7bfefd2 100644 (file)
@@ -1033,7 +1033,8 @@ void PutClientInServer (void)
                self.prevorigin = self.origin;
                self.lastrocket = world; // stop rocket guiding, no revenge from the grave!
                self.lastteleporttime = time; // prevent insane speeds due to changing origin
-
+        self.hud = HUD_NORMAL;
+        
                if(g_arena)
                {
                        Spawnqueue_Remove(self);