aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-08-24 06:20:30 +0000
committerTorbjörn Andersson2004-08-24 06:20:30 +0000
commitbb0b18515b9fe88bb537a366e5a18c6e57d78d6a (patch)
treec49b475ef86cd10ddb804c19bcc6467ffc5253cb
parent07eb3f50f9038b31cf4bd75c514fa7297fcafb58 (diff)
downloadscummvm-rg350-bb0b18515b9fe88bb537a366e5a18c6e57d78d6a.tar.gz
scummvm-rg350-bb0b18515b9fe88bb537a366e5a18c6e57d78d6a.tar.bz2
scummvm-rg350-bb0b18515b9fe88bb537a366e5a18c6e57d78d6a.zip
Fixed slight regression in the Loom cursor shape: The whole thing was
shifted one step to the left, so the leftmost column wasn't included. (Hotspot is still wrong, of course - that's a different bug.) svn-id: r14725
-rw-r--r--scumm/cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/cursor.cpp b/scumm/cursor.cpp
index 5a86396f57..a37486f899 100644
--- a/scumm/cursor.cpp
+++ b/scumm/cursor.cpp
@@ -287,7 +287,7 @@ void ScummEngine::redefineBuiltinCursorFromChar(int index, int chr) {
for (int h = 0; h < s.h; h++) {
for (int w = 0; w < s.w; w++) {
if (buf[s.pitch * h + w] != 123)
- *ptr |= 1 << (16 - w);
+ *ptr |= 1 << (15 - w);
}
ptr++;
}