diff options
Diffstat (limited to 'bullet.c')
-rw-r--r-- | bullet.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -62,13 +62,10 @@ Entity new_player_bullet( sprid = sprite_player_bullet_down; col->w = 9 << fbits; col->h = 14 << fbits; + } else { + destroy_entity(world, e); + return -1; } -#ifdef DEBUG - else { - platform_log("Player bullets must have velocity\n"); - platform_abort(error_gameplay_error); - } -#endif init_csprite(sprite, sprid); |