aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorPaweł Kołodziejski2004-01-18 20:29:00 +0000
committerPaweł Kołodziejski2004-01-18 20:29:00 +0000
commitafa3ceb07f1b19bd823719f22162bcbf9676a62b (patch)
treedfb4d825c7a4c063a4ff0f97725cff68fe3d957a /queen
parent856b2dd825228a9577c52d4d2750894f0f97ec77 (diff)
downloadscummvm-rg350-afa3ceb07f1b19bd823719f22162bcbf9676a62b.tar.gz
scummvm-rg350-afa3ceb07f1b19bd823719f22162bcbf9676a62b.tar.bz2
scummvm-rg350-afa3ceb07f1b19bd823719f22162bcbf9676a62b.zip
fix warning
svn-id: r12500
Diffstat (limited to 'queen')
-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;