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:
parent
0930521e6b
commit
abab119b6d
@ -80,7 +80,7 @@ bool EventHandler::OnEvent (const SEvent &event)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("The following message will not be printed in release mode:\n");
|
printf("The following message will not be printed in release mode:\n");
|
||||||
#else
|
#else
|
||||||
return EVENT_BLOCK;
|
return true; // EVENT_BLOCK
|
||||||
#endif
|
#endif
|
||||||
printf("Level %d: %s\n",
|
printf("Level %d: %s\n",
|
||||||
event.LogEvent.Level,event.LogEvent.Text);
|
event.LogEvent.Level,event.LogEvent.Text);
|
||||||
|
Loading…
Reference in New Issue
Block a user