From 8cf389aaf748c77aecda0b3a3773c45053b0f231 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 25 Oct 2024 13:02:38 +0200 Subject: implement all ALGA features --- Museum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Museum.cpp') 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(); } -- cgit v1.2.3