mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 12:50:51 +00:00
MADE: Get rid of casts on CursorManager::replaceCursor calls.
This commit is contained in:
parent
1cda4f903b
commit
57e0381b62
@ -574,7 +574,7 @@ int16 ScriptFunctions::sfLoadMouseCursor(int16 argc, int16 *argv) {
|
||||
PictureResource *flex = _vm->_res->getPicture(argv[2]);
|
||||
if (flex) {
|
||||
Graphics::Surface *surf = flex->getPicture();
|
||||
CursorMan.replaceCursor((const byte *)surf->pixels, surf->w, surf->h, argv[1], argv[0], 0);
|
||||
CursorMan.replaceCursor(surf->pixels, surf->w, surf->h, argv[1], argv[0], 0);
|
||||
_vm->_res->freeResource(flex);
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user