Removed debug code (allowing number of laps be set to 0).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-12-15 23:18:56 +00:00
parent c45c2dccd3
commit cdadccdedd

View File

@ -252,8 +252,7 @@ void RaceOptions::select()
case WTOK_LAPS_DOWN:
{
m_num_laps--;
printf("fixme: numlaps=0\n");
if(m_num_laps<0) m_num_laps=10;
if(m_num_laps<1) m_num_laps=10;
char label[ MAX_MESSAGE_LENGTH ];
snprintf( label, MAX_MESSAGE_LENGTH, "%d", m_num_laps );