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:
auria
2012-01-29 21:44:29 +00:00
parent 91cdec00a6
commit 6ff2734b11

View File

@@ -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")
{