aboutsummaryrefslogtreecommitdiff
path: root/Museum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Museum.cpp')
-rw-r--r--Museum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Museum.cpp b/Museum.cpp
index bed7285..4a12038 100644
--- a/Museum.cpp
+++ b/Museum.cpp
@@ -34,7 +34,7 @@ void Museum::work() {
while (this->working) {
// immediately process forward jumps, even if paused
if (this->jump > 0) {
- while (--this->jump > 0)
+ for (; this->jump != 0; this->jump--)
this->update();
}