Removed debug code.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-08-30 00:38:57 +00:00
parent 73f7d795e7
commit 6392dd8e26

View File

@ -508,8 +508,6 @@ void DefaultAIController::handleItems( const float DELTA, const int STEPS )
m_controls->m_fire = (m_distance_behind < 15.0f &&
m_distance_behind > 3.0f ) ||
m_time_since_last_shot>10.0f;
if(m_distance_behind < 10.0f && m_distance_behind > 2.0f )
m_distance_behind *= 1.0f;
break;
// All the thrown/fired items might be improved by considering the angle
// towards m_kart_ahead. And some of them can fire backwards, too - which