From: Samual Lenks Date: Tue, 4 Sep 2012 23:45:10 +0000 (-0400) Subject: Vector should be float X-Git-Tag: xonotic-v0.7.0~240^2~53 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9aaacefb79d14325b2aa83cbfee754b0dc588544;p=xonotic%2Fxonotic-data.pk3dir.git Vector should be float --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index b549e4c57..f70562171 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -1019,7 +1019,7 @@ MUTATOR_HOOKFUNCTION(ctf_PlayerPreThink) // update the health of the flag carrier waypointsprite if(self.wps_flagcarrier) - WaypointSprite_UpdateHealth(self.wps_flagcarrier, healtharmor_maxdamage(self.health, self.armorvalue, autocvar_g_balance_armor_blockpercent)); + WaypointSprite_UpdateHealth(self.wps_flagcarrier, '1 0 0' * healtharmor_maxdamage(self.health, self.armorvalue, autocvar_g_balance_armor_blockpercent)); return 0; }