Allow quitting / returning to launcher while showing "selection boxes", e.g. the

pause game dialog.

svn-id: r35445
This commit is contained in:
Torbjörn Andersson 2008-12-19 21:22:26 +00:00
parent 6baa803dff
commit a4e08d94fc

View File

@ -364,7 +364,7 @@ int AgiEngine::selectionBox(const char *m, const char **b) {
AllowSyntheticEvents on(this);
debugC(4, kDebugLevelText, "waiting...");
for (;;) {
while (!shouldQuit()) {
for (i = 0; b[i]; i++)
_gfx->drawCurrentStyleButton(bx[i], by[i], b[i], i == active, false, i == 0);