diff options
author | Sven Hesse | 2012-06-16 01:39:14 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-16 01:39:14 +0200 |
commit | 1666d9da824c7e217fba19bcd694cc878b3d65bb (patch) | |
tree | 28d73ae3d29325cf6b15b67b28ab6df6ac77d018 /engines | |
parent | a0add53c6003a8ed42324d4bacc7f4745ee25543 (diff) | |
download | scummvm-rg350-1666d9da824c7e217fba19bcd694cc878b3d65bb.tar.gz scummvm-rg350-1666d9da824c7e217fba19bcd694cc878b3d65bb.tar.bz2 scummvm-rg350-1666d9da824c7e217fba19bcd694cc878b3d65bb.zip |
GOB: Fix mult object collision detection I broke in 2007
This fixes the sidescroller levels (like the bees and butterflies)
in Little Red.
I really wonder if this breakage had other effects too...
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/mult_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/mult_v2.cpp b/engines/gob/mult_v2.cpp index 6593565e6a..64b9d19e33 100644 --- a/engines/gob/mult_v2.cpp +++ b/engines/gob/mult_v2.cpp @@ -1082,7 +1082,7 @@ void Mult_v2::animate() { continue; for (int j = 0; j < numAnims; j++) { - Mult_Object &animObj2 = *_renderObjs[i]; + Mult_Object &animObj2 = *_renderObjs[j]; Mult_AnimData &animData2 = *(animObj2.pAnimData); if (i == j) |