aboutsummaryrefslogtreecommitdiff
path: root/sword2/anims.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/anims.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/anims.cpp')
-rw-r--r--sword2/anims.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/sword2/anims.cpp b/sword2/anims.cpp
index 7850af0af7..9bafb41e17 100644
--- a/sword2/anims.cpp
+++ b/sword2/anims.cpp
@@ -851,7 +851,6 @@ int32 FN_play_sequence(int32 *params) // James(09apr97)
if (ServiceWindows() == RDERR_APPCLOSED) // if we pressed Ctrl-Q during the smacker
{
Close_game(); //close engine systems down
- RestoreDisplay();
CloseAppWindow();
exit(0); //quit the game
}
@@ -884,7 +883,6 @@ int32 FN_play_sequence(int32 *params) // James(09apr97)
EraseBackBuffer(); // for hardware rendering
EraseSoftwareScreenBuffer(); // for software rendering
- FlipScreens(); // to get the new blank screen visible
//--------------------------------------------------
// zero the entire palette in case we're about to fade up!