diff options
author | Paul Gilbert | 2016-03-10 21:51:23 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-03-14 20:56:26 -0400 |
commit | b4e3d4abc16d9996651874c8952b1ce846dcb6a1 (patch) | |
tree | 73fa735117b04d3643693f156d635bced2c32053 /engines/mads/phantom | |
parent | 9c7569b74bf3493f7970a912ae54b87d73e6633e (diff) | |
download | scummvm-rg350-b4e3d4abc16d9996651874c8952b1ce846dcb6a1.tar.gz scummvm-rg350-b4e3d4abc16d9996651874c8952b1ce846dcb6a1.tar.bz2 scummvm-rg350-b4e3d4abc16d9996651874c8952b1ce846dcb6a1.zip |
MADS: Changed engine to use Graphics::ManagedSurface
Diffstat (limited to 'engines/mads/phantom')
-rw-r--r-- | engines/mads/phantom/phantom_scenes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/phantom/phantom_scenes.cpp b/engines/mads/phantom/phantom_scenes.cpp index f7a7153fbe..7ef627ceeb 100644 --- a/engines/mads/phantom/phantom_scenes.cpp +++ b/engines/mads/phantom/phantom_scenes.cpp @@ -191,7 +191,7 @@ void SceneInfoPhantom::loadCodes(MSurface &depthSurface, int variant) { } void SceneInfoPhantom::loadCodes(MSurface &depthSurface, Common::SeekableReadStream *stream) { - byte *destP = depthSurface.getData(); + byte *destP = (byte *)depthSurface.getPixels(); byte *walkMap = new byte[stream->size()]; stream->read(walkMap, stream->size()); |