diff options
author | Torbjörn Andersson | 2004-04-23 11:43:20 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-04-23 11:43:20 +0000 |
commit | 8675bcfc6cf9be35075eec718f9757dfba879a95 (patch) | |
tree | 16728362eb4e9ceaba1b8858a1fe4450e13b9802 /sword2 | |
parent | 8f8d1967c942f5eb6ba1b01ade037bb938f99d64 (diff) | |
download | scummvm-rg350-8675bcfc6cf9be35075eec718f9757dfba879a95.tar.gz scummvm-rg350-8675bcfc6cf9be35075eec718f9757dfba879a95.tar.bz2 scummvm-rg350-8675bcfc6cf9be35075eec718f9757dfba879a95.zip |
Fixed a crash regression in setLuggage() that was caused by a change I
didn't make. :-)
(That is, I made the change and then thought better of it, but I forgot to
change one line back to its original form.)
svn-id: r13608
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/mouse.cpp b/sword2/mouse.cpp index 6814a570e5..b9e837cd0d 100644 --- a/sword2/mouse.cpp +++ b/sword2/mouse.cpp @@ -801,7 +801,7 @@ void Sword2Engine::setLuggage(uint32 res) { byte *icon = _resman->openResource(res) + sizeof(StandardHeader); uint32 len = _resman->fetchLen(res) - sizeof(StandardHeader); - _graphics->setLuggageAnim(icon + sizeof(StandardHeader), len); + _graphics->setLuggageAnim(icon, len); _resman->closeResource(res); } else _graphics->setLuggageAnim(NULL, 0); |