aboutsummaryrefslogtreecommitdiff
path: root/queen/credits.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-01-10 12:56:07 +0000
committerGregory Montoir2004-01-10 12:56:07 +0000
commit9439e09e45d9e14b9d5bc297a7c618ee3f948f9e (patch)
treec5abae4c86c6e173b2dd81ce50c6ceb37f2fd7bb /queen/credits.cpp
parentc4528ac022d13fde66a4d494110da4e97d2660c0 (diff)
downloadscummvm-rg350-9439e09e45d9e14b9d5bc297a7c618ee3f948f9e.tar.gz
scummvm-rg350-9439e09e45d9e14b9d5bc297a7c618ee3f948f9e.tar.bz2
scummvm-rg350-9439e09e45d9e14b9d5bc297a7c618ee3f948f9e.zip
this should fix :
- minor sound glitch in room 50 (temple zombies) - panel undisplayed at the end of cutaway c62c - wrong dirty blocks in room 76 - Cutaway::_cutAnim is now a 21x30 elements array. This is needed for cutaway c69g, where we setup frames for bob num 20 (the original game uses the same value) - Credits::_list is now a 18 elements array (that's what credits2.crd need) svn-id: r12294
Diffstat (limited to 'queen/credits.cpp')
-rw-r--r--queen/credits.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/credits.cpp b/queen/credits.cpp
index dcb78fb90a..6d81839dd9 100644
--- a/queen/credits.cpp
+++ b/queen/credits.cpp
@@ -128,10 +128,10 @@ void Credits::update() {
}
else {
+ assert(_count < ARRAYSIZE(_list));
_list[_count].text = line;
_list[_count].color = _color;
_list[_count].fontSize = _fontSize;
-
switch (_justify) {
case 0:
_list[_count].x = (_zone % 3) * (320 / 3) + 8;