summaryrefslogtreecommitdiff
path: root/src/interface/Engine.cpp
diff options
context:
space:
mode:
authorSimon 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)
commit93afe0a1ea45efb5d62608555784580d4513bfd0 (patch)
tree8fa2e2776240c00f6dd2bf372c787e6e180fbf5d /src/interface/Engine.cpp
parent740f0d30c3d5badc10da09af875b47d67128048b (diff)
downloadpowder-93afe0a1ea45efb5d62608555784580d4513bfd0.zip
powder-93afe0a1ea45efb5d62608555784580d4513bfd0.tar.gz
More robust EngineProcess (still doesn't fix lua bug)
Diffstat (limited to 'src/interface/Engine.cpp')
-rw-r--r--src/interface/Engine.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/interface/Engine.cpp b/src/interface/Engine.cpp
index 31311fe..0d709e6 100644
--- a/src/interface/Engine.cpp
+++ b/src/interface/Engine.cpp
@@ -52,7 +52,12 @@ void Engine::Begin(int width, int height)
void Engine::Break()
{
- break_ = !break_;
+ break_ = true;
+}
+
+void Engine::UnBreak()
+{
+ break_ = false;
}
void Engine::Exit()