diff options
author | Torbjörn Andersson | 2004-09-26 14:56:51 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-09-26 14:56:51 +0000 |
commit | dfad37c10b68b909f11452976a2f42237d322cea (patch) | |
tree | 51d8daa27a1fde565aabc30b508256a5493427e7 /scumm | |
parent | 3b24bb05e45f6d52ac3a5a4e69685cae2bb0a501 (diff) | |
download | scummvm-rg350-dfad37c10b68b909f11452976a2f42237d322cea.tar.gz scummvm-rg350-dfad37c10b68b909f11452976a2f42237d322cea.tar.bz2 scummvm-rg350-dfad37c10b68b909f11452976a2f42237d322cea.zip |
Fingolfin's suggested fix for the DOTT cursor regression. (The initial
cross-hair cursor was set while _roomWidth was 0, so the cursor image was
cropped down to nothing.)
svn-id: r15291
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 3cc3efabeb..0b5a5753ad 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -1214,7 +1214,7 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi sx = 0; } - while (numstrip && sx < _numStrips && x * 8 < _vm->_roomWidth) { + while (numstrip && sx < _numStrips && x * 8 < MAX(_vm->_roomWidth, (int) vs->w)) { CHECK_HEAP; if (y < vs->tdirty[sx]) |