diff options
author | Gregory Montoir | 2004-01-19 21:38:07 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-19 21:38:07 +0000 |
commit | 993fba68f15733c7ac5c4b423833999574d182cd (patch) | |
tree | e7adc45482d4fd9a5cfc360af4ab49479a6c7bab /queen/cutaway.cpp | |
parent | 7a53d9ba7bd3b48a382161ed809e2088e5945ddc (diff) | |
download | scummvm-rg350-993fba68f15733c7ac5c4b423833999574d182cd.tar.gz scummvm-rg350-993fba68f15733c7ac5c4b423833999574d182cd.tar.bz2 scummvm-rg350-993fba68f15733c7ac5c4b423833999574d182cd.zip |
prevents bank re-loading (cutaways animations)
svn-id: r12524
Diffstat (limited to 'queen/cutaway.cpp')
-rw-r--r-- | queen/cutaway.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp index 10c8e328c9..4a85c6ca94 100644 --- a/queen/cutaway.cpp +++ b/queen/cutaway.cpp @@ -535,12 +535,7 @@ byte *Cutaway::getCutawayAnim(byte *ptr, int header, CutawayAnim &anim) { } else { if (anim.bank != 13) { - /* XXX if (OLDBANK != T) */ { - //debug(6, "Loading bank '%s'", _bankNames[anim.bank-1]); - _vm->bankMan()->load(_bankNames[anim.bank-1], CUTAWAY_BANK); - // XXX OLDBANK=T; - } - + _vm->bankMan()->load(_bankNames[anim.bank-1], CUTAWAY_BANK); anim.bank = 8; } else { @@ -1150,10 +1145,7 @@ void Cutaway::stop() { if (0 == bank) bank = 15; else if (bank != 13) { - // XXX if(bank != oldBank) { _vm->bankMan()->load(_bankNames[bank-1], CUTAWAY_BANK); - // XXX oldBank = bank; - // XXX } bank = 8; } |