From 49ca357e9ef19aa2650ca42b1f42c8aacf937ec6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 15 Mar 2014 11:22:19 -0400 Subject: MADS: Remove redundant _encoding field from MSprite --- engines/mads/sprites.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/mads/sprites.cpp') diff --git a/engines/mads/sprites.cpp b/engines/mads/sprites.cpp index 1b65442b4c..8979fdb12c 100644 --- a/engines/mads/sprites.cpp +++ b/engines/mads/sprites.cpp @@ -55,13 +55,12 @@ typedef Common::List DepthList; /*------------------------------------------------------------------------*/ MSprite::MSprite(): MSurface() { - _encoding = 0; } MSprite::MSprite(Common::SeekableReadStream *source, const Common::Array &palette, const Common::Rect &bounds): MSurface(bounds.width(), bounds.height()), - _encoding(0), _offset(Common::Point(bounds.left, bounds.top)) { + _offset(Common::Point(bounds.left, bounds.top)) { // Load the sprite data loadSprite(source, palette); } -- cgit v1.2.3