fixed mouse cursor code to cope with CMI

svn-id: r6125
This commit is contained in:
Max Horn 2002-12-25 12:53:47 +00:00
parent aa2a85de99
commit 0ef7d52448
2 changed files with 5 additions and 2 deletions

View file

@ -400,6 +400,9 @@ void OSystem_SDL_Common::set_mouse_pos(int x, int y) {
}
void OSystem_SDL_Common::set_mouse_cursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y) {
assert(0 < w && w <= MAX_MOUSE_W);
assert(0 < h && h <= MAX_MOUSE_H);
_mouseCurState.w = w;
_mouseCurState.h = h;