aboutsummaryrefslogtreecommitdiff
path: root/scumm/verbs.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-04-13 21:21:56 +0000
committerPaweł Kołodziejski2003-04-13 21:21:56 +0000
commit9290218e4f927fe468ce796ec8dfe609bf020631 (patch)
treec0fde5e99ac425859a481af718c29fc2b6403feb /scumm/verbs.cpp
parent158a3a5080261f1bd717b869ab2b944de8f6b870 (diff)
downloadscummvm-rg350-9290218e4f927fe468ce796ec8dfe609bf020631.tar.gz
scummvm-rg350-9290218e4f927fe468ce796ec8dfe609bf020631.tar.bz2
scummvm-rg350-9290218e4f927fe468ce796ec8dfe609bf020631.zip
img and imgh should be readed from offset +2, but i'm not sure about imptr (it should skip only length)
svn-id: r7007
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r--scumm/verbs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp
index 56fb7504c6..c90b511d5d 100644
--- a/scumm/verbs.cpp
+++ b/scumm/verbs.cpp
@@ -236,9 +236,9 @@ void Scumm::drawVerbBitmap(int verb, int x, int y) {
}
assert(_objs[i].obj_nr == object);
- imgw = (*(roomptr + _objs[i].OBCDoffset + 11));
- imgh = (*(roomptr + _objs[i].OBCDoffset + 17)) >> 3;
- imptr = (roomptr + _objs[i].OBIMoffset + 8);
+ imgw = (*(roomptr + _objs[i].OBCDoffset + 13));
+ imgh = (*(roomptr + _objs[i].OBCDoffset + 19)) >> 3;
+ imptr = (roomptr + _objs[i].OBIMoffset + 2);
} else if (_features & GF_SMALL_HEADER) {
size = READ_LE_UINT32(obim);