aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-01-28 16:52:41 +0000
committerNicola Mettifogo2008-01-28 16:52:41 +0000
commit3c2c16c705b41e0186cd203bc303a0902bf3059e (patch)
treef872c9b34aff5a5b1f1d09a4a52e117972249724 /engines/parallaction/graphics.cpp
parent1bba7bd04e1ca2cdc20cb2646f7e32a65c0d53f0 (diff)
downloadscummvm-rg350-3c2c16c705b41e0186cd203bc303a0902bf3059e.tar.gz
scummvm-rg350-3c2c16c705b41e0186cd203bc303a0902bf3059e.tar.bz2
scummvm-rg350-3c2c16c705b41e0186cd203bc303a0902bf3059e.zip
Fixed animation sorting: everything should be drawn like before revision 30673 now. Character may still disappear when changing location because of wrong resource management, though.
svn-id: r30680
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r--engines/parallaction/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp
index ec5cc904f0..2ed4a99405 100644
--- a/engines/parallaction/graphics.cpp
+++ b/engines/parallaction/graphics.cpp
@@ -857,7 +857,7 @@ void Gfx::grabRect(byte *dst, const Common::Rect& r, Gfx::Buffers srcbuffer, uin
}
-int16 Gfx::queryMask(int16 v) {
+uint16 Gfx::queryMask(uint16 v) {
for (uint16 _si = 0; _si < 3; _si++) {
if (_bgLayers[_si+1] > v) return _si;