From 9d5937190a2741571a0eb5748c03e249e6da1f2b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 20 Nov 2010 06:59:44 +0100 Subject: [PATCH] nexball: don't display a useless health bar on a lone ball (BUT: could be undone, and later used for having the ball "time out") --- qcsrc/server/nexball.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/nexball.qc b/qcsrc/server/nexball.qc index a01d70f14..490071334 100644 --- a/qcsrc/server/nexball.qc +++ b/qcsrc/server/nexball.qc @@ -202,7 +202,8 @@ void DropBall (entity ball, vector org, vector vel) } WaypointSprite_Kill(ball.owner.waypointsprite_attachedforcarrier); - WaypointSprite_AttachCarrier("nb-ball", ball); + //WaypointSprite_AttachCarrier("nb-ball", ball); + WaypointSprite_Spawn("nb-ball", 0, 0, ball, '0 0 64', world, ball.team, ball, waypointsprite_attachedforcarrier, FALSE); // no health bar please WaypointSprite_UpdateRule(ball.waypointsprite_attachedforcarrier, 0, SPRITERULE_DEFAULT); WaypointSprite_UpdateTeamRadar(ball.waypointsprite_attachedforcarrier, RADARICON_FLAGCARRIER, BALL_SPRITECOLOR); -- 2.39.2