Fix crash when starting race in overworld
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -43,9 +43,9 @@ SelectChallengeDialog::~SelectChallengeDialog()
|
||||
World::getWorld()->scheduleUnpause();
|
||||
}
|
||||
|
||||
GUIEngine::EventPropagation SelectChallengeDialog::processEvent(const std::string& eventSource)
|
||||
GUIEngine::EventPropagation SelectChallengeDialog::processEvent(const std::string& eventSourceParam)
|
||||
{
|
||||
|
||||
std::string eventSource = eventSourceParam;
|
||||
if (eventSource == "novice" || eventSource == "intermediate" ||
|
||||
eventSource == "expert")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user