aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queen/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/graphics.cpp b/queen/graphics.cpp
index 19a146dbee..800f3d0bf5 100644
--- a/queen/graphics.cpp
+++ b/queen/graphics.cpp
@@ -611,7 +611,7 @@ void Graphics::setupNewRoom(const char *room, uint16 roomNum, int16 *furniture,
}
void Graphics::fillAnimBuffer(const char *anim, AnimFrame *af) {
- while (true) {
+ for (;;) {
sscanf(anim, "%3hu,%3hu", &af->frame, &af->speed);
if (af->frame == 0)
break;