diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-18 23:40:20 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-18 23:40:20 (GMT) |
| commit | 93afe0a1ea45efb5d62608555784580d4513bfd0 (patch) | |
| tree | 8fa2e2776240c00f6dd2bf372c787e6e180fbf5d /src/PowderToySDL.cpp | |
| parent | 740f0d30c3d5badc10da09af875b47d67128048b (diff) | |
| download | powder-93afe0a1ea45efb5d62608555784580d4513bfd0.zip powder-93afe0a1ea45efb5d62608555784580d4513bfd0.tar.gz | |
More robust EngineProcess (still doesn't fix lua bug)
Diffstat (limited to 'src/PowderToySDL.cpp')
| -rw-r--r-- | src/PowderToySDL.cpp | 5 |
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[]) |
