]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Vector should be float
authorSamual Lenks <samual@xonotic.org>
Tue, 4 Sep 2012 23:45:10 +0000 (19:45 -0400)
committerSamual Lenks <samual@xonotic.org>
Tue, 4 Sep 2012 23:45:10 +0000 (19:45 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index b549e4c572d7eab54ea92c78d4f9b20609c4f40b..f705621712d01c4cdf93e380e8a366e1b3694f94 100644 (file)
@@ -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;
 }