aboutsummaryrefslogtreecommitdiff
path: root/Museum.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 13:02:38 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 13:02:38 +0200
commit8cf389aaf748c77aecda0b3a3773c45053b0f231 (patch)
tree91268879710d6ae2868e548d3f44c664a19443d8 /Museum.cpp
parentda669db4f083194bc78358041c5d9929e103ac9f (diff)
implement all ALGA features
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();
}