From d230f0d591a450fd0589ef1d7cad131711f4ff9f Mon Sep 17 00:00:00 2001 From: Lucas GAUTHERON Date: Fri, 10 Jun 2011 17:04:41 +0000 Subject: [PATCH] remove dbg feature git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6529 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/bot/bot_ai.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/src/bot/bot_ai.cpp b/source/src/bot/bot_ai.cpp index b681ceda..24366fea 100644 --- a/source/src/bot/bot_ai.cpp +++ b/source/src/bot/bot_ai.cpp @@ -708,13 +708,6 @@ void CBot::ShootEnemy() TraceLine(m_pMyEnt->o, dest, m_pMyEnt, false, &tr); debugbeam(m_pMyEnt->o, tr.end); - if(m_pMyEnt->gunselect == GUN_GRENADE) - { - player1->o.x = m_pMyEnt->o.x + 1.0f; - player1->o.y = m_pMyEnt->o.y + 1.0f; - player1->o.z = m_pMyEnt->o.z + 1.0f; - } - shoot(m_pMyEnt, tr.end); // Add shoot delay