From 3d1d1884324a240b73fea6de3b5df6f7310eeb53 Mon Sep 17 00:00:00 2001 From: Kamil Zbróg Date: Mon, 18 Nov 2013 16:19:21 +0000 Subject: PRINCE: script updated to read value when necessary --- engines/prince/mhwanh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/prince/mhwanh.h') diff --git a/engines/prince/mhwanh.h b/engines/prince/mhwanh.h index 2b70ae525b..b11ecd08e6 100644 --- a/engines/prince/mhwanh.h +++ b/engines/prince/mhwanh.h @@ -36,8 +36,8 @@ public: // ImageDecoder API void destroy(); virtual bool loadStream(Common::SeekableReadStream &stream); - virtual Graphics::Surface *getSurface() const { return _surface; } - const byte *getPalette() const { return _palette; } + virtual const Graphics::Surface *getSurface() const { return _surface; } + virtual const byte *getPalette() const { return _palette; } uint16 getPaletteCount() const { return _paletteColorCount; } private: -- cgit v1.2.3