diff options
Diffstat (limited to 'engines/drascula/interface.cpp')
-rw-r--r-- | engines/drascula/interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/drascula/interface.cpp b/engines/drascula/interface.cpp index 1d17c77f83..04d9eb370d 100644 --- a/engines/drascula/interface.cpp +++ b/engines/drascula/interface.cpp @@ -99,7 +99,7 @@ bool DrasculaEngine::confirmExit() { updateScreen(); delay(100); - for (;;) { + while (!shouldQuit()) { key = getScan(); if (key != 0) break; @@ -153,7 +153,7 @@ void DrasculaEngine::enterName() { int v = 0, h = 0; char select2[23]; strcpy(select2, " "); - for (;;) { + while (!shouldQuit()) { select2[v] = '-'; copyBackground(115, 14, 115, 14, 176, 9, bgSurface, screenSurface); print_abc(select2, 117, 15); |