aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorPaweł Kołodziejski2007-07-28 22:18:43 +0000
committerPaweł Kołodziejski2007-07-28 22:18:43 +0000
commit88c1e31d681b57b720f78f37ba5eb1b639493776 (patch)
treed0446a21a44dbc1eed166bcc1c38fd0f13414956 /engines/drascula
parentc8f4818f2d5c8bd28a2afe793fb545c08dff2510 (diff)
downloadscummvm-rg350-88c1e31d681b57b720f78f37ba5eb1b639493776.tar.gz
scummvm-rg350-88c1e31d681b57b720f78f37ba5eb1b639493776.tar.bz2
scummvm-rg350-88c1e31d681b57b720f78f37ba5eb1b639493776.zip
allow exit, formating
svn-id: r28281
Diffstat (limited to 'engines/drascula')
-rw-r--r--engines/drascula/drascula.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index c4cb64b40d..2631f5187e 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -557,7 +557,8 @@ bucles:
} else if (cont_sv == 1500) {
salva_pantallas();
cont_sv = 0;
- } else cont_sv++;
+ } else
+ cont_sv++;
goto bucles;
}
@@ -1556,7 +1557,9 @@ void DrasculaEngine::update_events() {
boton_dch = 0;
break;
case Common::EVENT_QUIT:
-
+ // TODO
+ salir_al_dos(0);
+ exit(0);
break;
default:
break;