about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorOlle Rosenquist <phobos99@gmail.com>2007-07-23 17:51:52 +0000
committerOlle Rosenquist <phobos99@gmail.com>2007-07-23 17:51:52 +0000
commit9e70f710548a0590d4186f3c5c72c031ba92e65d (patch)
tree6fb86a491a8e1279e157d3a0b15e0e13bab16b49 /src
parentcdcc774b029c41026fb97a01eaa10cd46b74488a (diff)
downloadzcatch-9e70f710548a0590d4186f3c5c72c031ba92e65d.tar.gz
zcatch-9e70f710548a0590d4186f3c5c72c031ba92e65d.zip
Ninja powerup shouldn't spawn directly
Diffstat (limited to 'src')
-rw-r--r--src/game/client/game_client.cpp2
1 files changed, 1 insertions, 1 deletions
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);