X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fturrets%2Fcl_turrets.qc;h=aff0f764c7759c2955a527f55960725dca8526e6;hb=2aba0552fdf2acdebd1ac96fa9ad218605b3742e;hp=fca9f7f237c1936409298da55e5ea0becc87073b;hpb=8782d4625fb1b3e338da59e947a05e0dbcf4a493;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/turrets/cl_turrets.qc b/qcsrc/common/turrets/cl_turrets.qc index fca9f7f23..aff0f764c 100644 --- a/qcsrc/common/turrets/cl_turrets.qc +++ b/qcsrc/common/turrets/cl_turrets.qc @@ -1,4 +1,5 @@ #include "cl_turrets.qh" + void turret_remove(entity this) { delete(this.tur_head); @@ -9,7 +10,7 @@ void turret_remove(entity this) .vector glowmod; void turret_changeteam(entity this) { - this.glowmod = Team_ColorRGB(this.team - 1) * 2; + this.glowmod = Team_ColorRGB(this.team - 1); this.teamradar_color = Team_ColorRGB(this.team - 1); if(this.team) @@ -87,9 +88,9 @@ void turret_draw2d(entity this) if(hud != HUD_NORMAL) { if((get_turretinfo(this.m_id)).spawnflags & TUR_FLAG_MOVE) - txt = "gfx/vehicles/turret_moving.tga"; + txt = "gfx/vehicles/turret_moving"; else - txt = "gfx/vehicles/turret_stationary.tga"; + txt = "gfx/vehicles/turret_stationary"; vector pz = drawgetimagesize(txt) * autocvar_cl_vehicles_crosshair_size; drawpic(o - pz * 0.5, txt, pz , '1 1 1', 0.7, DRAWFLAG_NORMAL);