Fixed some compiler warnings (turned track-debug back into an int since
it will be used in future to switch on/off different options at runtime). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -224,7 +224,7 @@ namespace UserConfigParams
|
||||
|
||||
// ---- Debug
|
||||
PARAM_PREFIX BoolUserConfigParam m_gamepad_debug PARAM_DEFAULT( BoolUserConfigParam(false, "gamepad_debug") );
|
||||
PARAM_PREFIX BoolUserConfigParam m_track_debug PARAM_DEFAULT( BoolUserConfigParam(false, "track_debug") );
|
||||
PARAM_PREFIX IntUserConfigParam m_track_debug PARAM_DEFAULT( IntUserConfigParam(false, "track_debug") );
|
||||
PARAM_PREFIX bool m_bullet_debug PARAM_DEFAULT( false );
|
||||
PARAM_PREFIX bool m_print_kart_sizes PARAM_DEFAULT( false );
|
||||
|
||||
|
||||
@@ -298,7 +298,7 @@ namespace StateManager
|
||||
|
||||
ITexture* screenshot = GUIEngine::getDriver()->getTexture( (file_manager->getDataDir() + "/gui/track1.png").c_str() );
|
||||
|
||||
new TrackInfoDialog( w2->getSelectionText().c_str(), screenshot, 0.75, 0.6);
|
||||
new TrackInfoDialog( w2->getSelectionText().c_str(), screenshot, 0.75f, 0.6f);
|
||||
}
|
||||
}
|
||||
else if(name == "gps")
|
||||
|
||||
Reference in New Issue
Block a user