diff options
author | Torbjörn Andersson | 2006-05-20 07:31:03 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-05-20 07:31:03 +0000 |
commit | 80eb6e4f5ea2b25864c94251f14e9b09170e72cf (patch) | |
tree | fa06cb115df10e2982fda47bb8ce677e73f64394 /backends | |
parent | 71d07416cd523ee33a395476829bdb011763e18f (diff) | |
download | scummvm-rg350-80eb6e4f5ea2b25864c94251f14e9b09170e72cf.tar.gz scummvm-rg350-80eb6e4f5ea2b25864c94251f14e9b09170e72cf.tar.bz2 scummvm-rg350-80eb6e4f5ea2b25864c94251f14e9b09170e72cf.zip |
Fixed cursor drawing in the classic theme.
svn-id: r22538
Diffstat (limited to 'backends')
-rw-r--r-- | backends/sdl/graphics.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp index deeadb7ea3..afd28fddb0 100644 --- a/backends/sdl/graphics.cpp +++ b/backends/sdl/graphics.cpp @@ -1487,8 +1487,13 @@ void OSystem_SDL::drawMouse() { dst.y = _mouseCurState.y - _mouseHotspotY; } - dst.w = _mouseCurState.w; - dst.h = _mouseCurState.h; + if (_overlayVisible) { + dst.w = _mouseCurState.hW; + dst.h = _mouseCurState.hH; + } else { + dst.w = _mouseCurState.w; + dst.h = _mouseCurState.h; + } // Note that addDirtyRect() will perform any necessary clipping |