summaryrefslogtreecommitdiff
path: root/src/PowderToySDL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PowderToySDL.cpp')
-rw-r--r--src/PowderToySDL.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp
index 9d1aa15..7eb9366 100644
--- a/src/PowderToySDL.cpp
+++ b/src/PowderToySDL.cpp
@@ -296,7 +296,7 @@ void EngineProcess()
{
if(engine->Broken())
{
- engine->Break();
+ engine->UnBreak();
break;
}
event.type = 0;
@@ -414,6 +414,9 @@ void EngineProcess()
}
engine->SetFps(fps);
}
+#ifdef DEBUG
+ std::cout << "Breaking out of EngineProcess" << std::endl;
+#endif
}
int main(int argc, char * argv[])