diff options
author | Strangerke | 2012-10-12 07:46:58 +0200 |
---|---|---|
committer | Strangerke | 2012-10-12 07:46:58 +0200 |
commit | 121039101d1b48eaad9e2da6935ff008a02061d1 (patch) | |
tree | 0d0fe9b351ab1b7e5a4d69000ac412d4329444de /engines/mortevielle/outtext.cpp | |
parent | 957c220556b6c643a27bafc400f064addc853cd0 (diff) | |
download | scummvm-rg350-121039101d1b48eaad9e2da6935ff008a02061d1.tar.gz scummvm-rg350-121039101d1b48eaad9e2da6935ff008a02061d1.tar.bz2 scummvm-rg350-121039101d1b48eaad9e2da6935ff008a02061d1.zip |
MORTEVIELLE: Remove dead code.
m was computed to in order to display a message while loading the next
resource. As there are no more delays, the message isn't displayed anymore,
thus it's useless to compute the message id.
Diffstat (limited to 'engines/mortevielle/outtext.cpp')
-rw-r--r-- | engines/mortevielle/outtext.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/engines/mortevielle/outtext.cpp b/engines/mortevielle/outtext.cpp index e105002f7c..e18c5c1692 100644 --- a/engines/mortevielle/outtext.cpp +++ b/engines/mortevielle/outtext.cpp @@ -248,29 +248,6 @@ void TextHandler::taffich() { Common::String filename; if ((a != 50) && (a != 51)) { - int m = a + 2000; - if ((m > 2001) && (m < 2010)) - m = 2001; - if (m == 2011) - m = 2010; - if (a == 32) - m = 2034; - if ((a == 17) && (g_vm->_maff == 14)) - m = 2018; - - if (a > 99) { - if ((g_vm->_is == 1) || (g_vm->_is == 0)) - m = 2031; - else - m = 2032; - } - - if (((a > 69) && (a < 80)) || (a == 30) || (a == 31) || (a == 144) || (a == 147) || (a == 149)) - m = 2030; - - if (((a < 27) && (((g_vm->_maff > 69) && (!g_vm->_coreVar._alreadyEnteredManor)) || (g_vm->_maff > 99))) || ((g_vm->_maff > 29) && (g_vm->_maff < 33))) - m = 2033; - g_vm->_maff = a; if (a == 159) a = 86; |