diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/cursor.cpp b/scumm/cursor.cpp index 2b53c48da7..63e20c7c66 100644 --- a/scumm/cursor.cpp +++ b/scumm/cursor.cpp @@ -137,7 +137,7 @@ void ScummEngine::setCursorFromBuffer(byte *ptr, int width, int height, int pitc for (; height; height--) { memcpy(dst, ptr, width); dst += width; - ptr += _screenWidth; + ptr += pitch; } updateCursor(); |