From 9e70f710548a0590d4186f3c5c72c031ba92e65d Mon Sep 17 00:00:00 2001 From: Olle Rosenquist Date: Mon, 23 Jul 2007 17:51:52 +0000 Subject: Ninja powerup shouldn't spawn directly --- src/game/client/game_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index 0d265b1c..f253909f 100644 --- a/src/game/client/game_client.cpp +++ b/src/game/client/game_client.cpp @@ -627,7 +627,7 @@ static void render_powerup(obj_powerup *prev, obj_powerup *current) gfx_quads_begin(); float angle = 0.0f; float size = 64.0f; - if (current->type == POWERUP_TYPE_WEAPON) + if (current->type == POWERUP_WEAPON) { angle = 0; //-pi/6;//-0.25f * pi * 2.0f; select_sprite(data->weapons[current->subtype%data->num_weapons].sprite_body); -- cgit 1.4.1