From de2112f1013a1d15b00d705ee805c2c914220f6a Mon Sep 17 00:00:00 2001 From: hikerstk Date: Fri, 15 Mar 2013 05:35:03 +0000 Subject: [PATCH] Removed debug code (2nd player would also get zippers in artist mode when pressing F7). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12554 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/input/input_manager.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index 6208de57a..1d53ce23c 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -211,11 +211,6 @@ void InputManager::handleStaticAction(int key, int value) { AbstractKart* kart = world->getLocalPlayerKart(0); kart->setPowerup(PowerupManager::POWERUP_ZIPPER, 10000); - if(world->getCurrentNumPlayers()>1) - { - kart = world->getLocalPlayerKart(1); - kart->setPowerup(PowerupManager::POWERUP_ZIPPER, 10000); - } } break;