aboutsummaryrefslogtreecommitdiff
path: root/sword2/console.cpp
diff options
context:
space:
mode:
authorJames Brown2003-08-19 14:57:26 +0000
committerJames Brown2003-08-19 14:57:26 +0000
commitec447fdfbbd55bf7e9d5c623f4262e59443f6d7a (patch)
treea840804617e997e04bfc7ed7dce4a6d695f84712 /sword2/console.cpp
parentc284e1b5077a172af52a114ffc658e0f58defe80 (diff)
downloadscummvm-rg350-ec447fdfbbd55bf7e9d5c623f4262e59443f6d7a.tar.gz
scummvm-rg350-ec447fdfbbd55bf7e9d5c623f4262e59443f6d7a.tar.bz2
scummvm-rg350-ec447fdfbbd55bf7e9d5c623f4262e59443f6d7a.zip
Remove a bunch of unneeded cruft - but barely the surface of it. This code is depressing and duplicated all over the place... I don't think I can bear to touch this code until it's undergone some MAJOR cleanup :)
svn-id: r9782
Diffstat (limited to 'sword2/console.cpp')
-rw-r--r--sword2/console.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/sword2/console.cpp b/sword2/console.cpp
index d6bed2ce34..81cbfb4657 100644
--- a/sword2/console.cpp
+++ b/sword2/console.cpp
@@ -912,7 +912,6 @@ void Con_help(void) //Tony13Aug96
if (ServiceWindows() == RDERR_APPCLOSED) // if we pressed Ctrl-Q
{
Close_game(); //close engine systems down
- RestoreDisplay();
CloseAppWindow();
exit(0); //quit the game
}
@@ -1030,7 +1029,6 @@ void Con_fatal_error(const char *format,...) //Tony17Oct96
Close_game(); //should down game services - free's mallocs, etc.
- RestoreDisplay(); //reset the Windows stuff
CloseAppWindow(); //
exit(0);
@@ -1144,7 +1142,6 @@ void Con_list_savegames(void) // (James05feb97) Tony1Apr97
if (ServiceWindows() == RDERR_APPCLOSED) // if we pressed Ctrl-Q
{
Close_game(); //close engine systems down
- RestoreDisplay();
CloseAppWindow();
exit(0); //quit the game
}