X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Ftturrets.qc;h=a8ebd03c1f42d28b64d950dfa28fe04fd3ccf876;hp=161bfa385a1b3f1c32690429fbdecbdb231d93e1;hb=23ab6599859e8a4b53501c8635b987bc1c33b771;hpb=e2ddf7d153328e3f2398d62d07c9e72badd89374 diff --git a/qcsrc/client/tturrets.qc b/qcsrc/client/tturrets.qc index 161bfa385..a8ebd03c1 100644 --- a/qcsrc/client/tturrets.qc +++ b/qcsrc/client/tturrets.qc @@ -257,21 +257,13 @@ void turret_draw2d() o_z = 0; if(hud != HUD_NORMAL) { - switch(hud) - { - case HUD_SPIDERBOT: - case HUD_WAKIZASHI: - case HUD_RAPTOR: - case HUD_BUMBLEBEE: - if(self.turret_type == TID_EWHEEL || self.turret_type == TID_WALKER) - txt = "gfx/vehicles/vth-mover.tga"; - else - txt = "gfx/vehicles/vth-stationary.tga"; + if(self.turret_type == TID_EWHEEL || self.turret_type == TID_WALKER) + txt = "gfx/vehicles/vth-mover.tga"; + else + txt = "gfx/vehicles/vth-stationary.tga"; - vector pz = drawgetimagesize(txt) * 0.25; - drawpic(o - pz * 0.5, txt, pz , '1 1 1', 0.75, DRAWFLAG_NORMAL); - break; - } + vector pz = drawgetimagesize(txt) * 0.25; + drawpic(o - pz * 0.5, txt, pz , '1 1 1', 0.75, DRAWFLAG_NORMAL); } }