aboutsummaryrefslogtreecommitdiff
path: root/costume.cpp
diff options
context:
space:
mode:
authorJames Brown2002-02-12 18:20:37 +0000
committerJames Brown2002-02-12 18:20:37 +0000
commitf620d138f6081488514f888706157eaeac3e19e5 (patch)
tree340e4b75e7d335c33bb6b8efabe2bab2256b87b9 /costume.cpp
parent18dce61c9396bd56bdfa4a803da2af9b2c153b01 (diff)
downloadscummvm-rg350-f620d138f6081488514f888706157eaeac3e19e5.tar.gz
scummvm-rg350-f620d138f6081488514f888706157eaeac3e19e5.tar.bz2
scummvm-rg350-f620d138f6081488514f888706157eaeac3e19e5.zip
First part of Yazoo and mines work on making older scumm games work.
Not enough here to actually work yet, just the base groundwork needed. svn-id: r3567
Diffstat (limited to 'costume.cpp')
-rw-r--r--costume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/costume.cpp b/costume.cpp
index c0979d3210..23d677ec0b 100644
--- a/costume.cpp
+++ b/costume.cpp
@@ -674,7 +674,7 @@ void CostumeRenderer::loadCostume(int id) {
if (_vm->_features&GF_AFTER_V6) {
_ptr += 8;
- } else {
+ } else if(!(_features&GF_SMALL_HEADER)) {
_ptr += 2;
}
@@ -753,7 +753,7 @@ void Scumm::loadCostume(LoadedCostume *lc, int costume) {
if (_features&GF_AFTER_V6) {
lc->_ptr += 8;
- } else {
+ } else if (!(_features&GF_SMALL_HEADER)) {
lc->_ptr += 2;
}