diff options
author | Paul Gilbert | 2012-02-12 22:57:15 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:21:18 +0200 |
commit | b4bed3cba36ac90bc78a8550390481aa394e9e68 (patch) | |
tree | 7f3df75b435c57e8b2af4fd2bb1034b96cea0552 /engines/mortevielle | |
parent | ce42caf57c28bebb263510f2266c9f401b3cda84 (diff) | |
download | scummvm-rg350-b4bed3cba36ac90bc78a8550390481aa394e9e68.tar.gz scummvm-rg350-b4bed3cba36ac90bc78a8550390481aa394e9e68.tar.bz2 scummvm-rg350-b4bed3cba36ac90bc78a8550390481aa394e9e68.zip |
MORTEVIELLE: Replaced stub calls to mortevielle_exit with Engine::quitGame
Diffstat (limited to 'engines/mortevielle')
-rw-r--r-- | engines/mortevielle/menu.cpp | 2 | ||||
-rw-r--r-- | engines/mortevielle/mor.cpp | 4 | ||||
-rw-r--r-- | engines/mortevielle/var_mor.h | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/engines/mortevielle/menu.cpp b/engines/mortevielle/menu.cpp index 35caac31ac..d8c1b6050b 100644 --- a/engines/mortevielle/menu.cpp +++ b/engines/mortevielle/menu.cpp @@ -48,7 +48,7 @@ void menut(int no, Common::String nom) { l = lo(no); s = nom; if (! tesok) { - mortevielle_exit(0); + g_vm->quitGame(); } while (s.size() < 20) s = s + ' '; switch (h) { diff --git a/engines/mortevielle/mor.cpp b/engines/mortevielle/mor.cpp index 22816dc738..05fe6c2a8c 100644 --- a/engines/mortevielle/mor.cpp +++ b/engines/mortevielle/mor.cpp @@ -48,7 +48,7 @@ const int ioresult = 0; void testfi() { if (ioresult != 0) { caff = do_alert(err_mess, 1); - mortevielle_exit(0); + g_vm->quitGame(); } } @@ -263,7 +263,7 @@ void stop() { hirs(); gd = ams; hirs(); - mortevielle_exit(0); + g_vm->quitGame(); } void paint_rect(int x, int y, int dx, int dy) { diff --git a/engines/mortevielle/var_mor.h b/engines/mortevielle/var_mor.h index 9bc10b30f2..3e496df9ff 100644 --- a/engines/mortevielle/var_mor.h +++ b/engines/mortevielle/var_mor.h @@ -409,7 +409,6 @@ extern int port[0xfff]; extern byte mem[65536 * 16]; #define hires {} -#define mortevielle_exit(ret) error("Exit the game") // Stubs for input functions extern bool keypressed(); |