diff options
author | Max Horn | 2003-06-14 18:52:30 +0000 |
---|---|---|
committer | Max Horn | 2003-06-14 18:52:30 +0000 |
commit | f7a8cbf7c73479ff086276ef04b0fea15085a13a (patch) | |
tree | 681f750d30d6e128bdeee471df0472a8d3cb6be3 /scumm/verbs.cpp | |
parent | 9658dd6ea367ce71e1928003236c1801c5e3b1ee (diff) | |
download | scummvm-rg350-f7a8cbf7c73479ff086276ef04b0fea15085a13a.tar.gz scummvm-rg350-f7a8cbf7c73479ff086276ef04b0fea15085a13a.tar.bz2 scummvm-rg350-f7a8cbf7c73479ff086276ef04b0fea15085a13a.zip |
Patch #754151: Removed READ_*_UNALIGNED and always read stuff bytewise; augmented by some more changes of mine
svn-id: r8482
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r-- | scumm/verbs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp index 5fde04a80c..96e70637cf 100644 --- a/scumm/verbs.cpp +++ b/scumm/verbs.cpp @@ -558,7 +558,7 @@ void Scumm::setVerbObject(uint room, uint object, uint verb) { } } else { findObjectInRoom(&foir, foImageHeader, object, room); - size = READ_BE_UINT32_UNALIGNED(foir.obim + 4); + size = READ_BE_UINT32(foir.obim + 4); createResource(rtVerb, verb, size); obimptr = getResourceAddress(rtRoom, room) - foir.roomptr + foir.obim; memcpy(getResourceAddress(rtVerb, verb), obimptr, size); |