diff options
author | Martin Kiewitz | 2016-02-20 15:47:53 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-20 15:47:53 +0100 |
commit | ed251ea004497b16198149cbe1d048404d05a900 (patch) | |
tree | e0d56c418721d4b22b7169868d564a4fb53a9933 | |
parent | 5425ff6e9965c59957a2fbe11747d171a36dc0b2 (diff) | |
download | scummvm-rg350-ed251ea004497b16198149cbe1d048404d05a900.tar.gz scummvm-rg350-ed251ea004497b16198149cbe1d048404d05a900.tar.bz2 scummvm-rg350-ed251ea004497b16198149cbe1d048404d05a900.zip |
SCI32: kIsOnMe searches _visiblePlanes, not just _planes
Forgot to mention that in last commit
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index d3c566f4f8..a49ea08b82 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -1869,7 +1869,7 @@ void GfxFrameout::kernelFrameout(const bool shouldShowBits) { uint16 GfxFrameout::kernelIsOnMe(int16 x, int16 y, uint16 checkPixels, reg_t screenObject) { reg_t planeObject = readSelector(_segMan, screenObject, SELECTOR(plane)); - Plane *screenItemPlane = _visiblePlanes.findByObject(planeObject); + Plane *screenItemPlane = _visiblePlanes.findByObject(planeObject); // Search for plane in visible planes ScreenItem *screenItem = nullptr; if (!screenItemPlane) { |