Fixed wrong (potentially old code) that was returning an enum item from a method returning bool (and the compiler doesn't tell, stupid C++)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-05-03 17:41:36 +00:00
parent 0930521e6b
commit abab119b6d

View File

@ -80,7 +80,7 @@ bool EventHandler::OnEvent (const SEvent &event)
#ifdef DEBUG
printf("The following message will not be printed in release mode:\n");
#else
return EVENT_BLOCK;
return true; // EVENT_BLOCK
#endif
printf("Level %d: %s\n",
event.LogEvent.Level,event.LogEvent.Text);