From 0e77645776fc168dfa980652664ac5024784886d Mon Sep 17 00:00:00 2001 From: "Martin Felis (schakeline)" Date: Sun, 28 Nov 2010 20:04:37 +0100 Subject: [PATCH] removed old debug statement which would cause error when accelerating during transition views (e.g. ViewStatePlayerDied) --- asteroids/ControllerCommands.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/asteroids/ControllerCommands.cc b/asteroids/ControllerCommands.cc index 486204e..1787a5a 100644 --- a/asteroids/ControllerCommands.cc +++ b/asteroids/ControllerCommands.cc @@ -141,11 +141,8 @@ bool Cmd_ControllerAttack (std::vector args) { if (player_entity) { player_entity->Attack (); return true; - } else { - Engine::LogError ("Could not attack: player entity not found"); - } - + return false; }