diff options
author | Johannes Schickel | 2013-08-02 23:47:42 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-08-03 02:52:32 +0200 |
commit | 8f73027d8273b482386d8c114674876b11069957 (patch) | |
tree | b0467f5c4894eec0503fb3529aa8fb4411b4e5f5 /engines/made/scriptfuncs.cpp | |
parent | 786ad6cea0caa076b1af56eb2bb6d85075e6bfd0 (diff) | |
download | scummvm-rg350-8f73027d8273b482386d8c114674876b11069957.tar.gz scummvm-rg350-8f73027d8273b482386d8c114674876b11069957.tar.bz2 scummvm-rg350-8f73027d8273b482386d8c114674876b11069957.zip |
MADE: Prefer getBasePtr over direct Surface::pixels access.
Diffstat (limited to 'engines/made/scriptfuncs.cpp')
-rw-r--r-- | engines/made/scriptfuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/scriptfuncs.cpp b/engines/made/scriptfuncs.cpp index c57778fb71..9a43bc44d2 100644 --- a/engines/made/scriptfuncs.cpp +++ b/engines/made/scriptfuncs.cpp @@ -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(surf->pixels, surf->w, surf->h, argv[1], argv[0], 0); + CursorMan.replaceCursor(surf->getBasePtr(0, 0), surf->w, surf->h, argv[1], argv[0], 0); _vm->_res->freeResource(flex); } return 0; |