aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Core/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Core/Game.cpp')
-rw-r--r--src/libjin/Core/Game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libjin/Core/Game.cpp b/src/libjin/Core/Game.cpp
index c5dd5a5..b480b12 100644
--- a/src/libjin/Core/Game.cpp
+++ b/src/libjin/Core/Game.cpp
@@ -32,7 +32,7 @@ namespace core
while (jin::input::pollEvent(&e))
{
SAFECALL(_onEvent, &e);
- if (!_running) goto stoploop;
+ if (!_running) goto quitloop;
}
SAFECALL(_onUpdate, dt);
SAFECALL(_onDraw);
@@ -49,7 +49,7 @@ namespace core
else
previous = current;
}
- stoploop:;
+ quitloop:;
}
bool Game::initSystem(const SettingBase* setting)