Ninja powerup shouldn't spawn directly

This commit is contained in:
Olle Rosenquist 2007-07-23 17:51:52 +00:00
parent cdcc774b02
commit 9e70f71054

View file

@ -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);