13 lines
476 B
Diff
13 lines
476 B
Diff
Index: src/ogrelistener.cpp
|
|
===================================================================
|
|
--- src/ogrelistener.cpp.orig
|
|
+++ src/ogrelistener.cpp
|
|
@@ -130,7 +130,7 @@ OgreAppFrameListener::OgreAppFrameListen
|
|
|
|
|
|
// Show debug info?
|
|
- if(GameApplication::mGameConfig->GetValue("graphics", "debug_info", "off") == "on") {
|
|
+ if(strcmp(GameApplication::mGameConfig->GetValue("graphics", "debug_info", "off"), "on") == 0) {
|
|
showDebugOverlay(true);
|
|
mStatsOn = true;
|
|
}
|