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/rails.cpp | |
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/rails.cpp')
-rw-r--r-- | engines/mads/rails.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/rails.cpp b/engines/mads/rails.cpp index ee0ca98cd3..46d9e0ebd3 100644 --- a/engines/mads/rails.cpp +++ b/engines/mads/rails.cpp @@ -149,7 +149,7 @@ int Rails::scanPath(const Common::Point &srcPos, const Common::Point &destPos) { ++xDiff; ++yDiff; - const byte *srcP = _depthSurface->getBasePtr(srcPos.x, srcPos.y); + const byte *srcP = (const byte *)_depthSurface->getBasePtr(srcPos.x, srcPos.y); int index = xAmount; // Outer loop |