aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/sprites.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-15 11:22:19 -0400
committerPaul Gilbert2014-03-15 11:22:19 -0400
commit49ca357e9ef19aa2650ca42b1f42c8aacf937ec6 (patch)
treef6e064a4f2964e11c10a95f4777c70cc06cf9a62 /engines/mads/sprites.cpp
parentd2bbdd255a43915267bac8dce6998c8f843979da (diff)
downloadscummvm-rg350-49ca357e9ef19aa2650ca42b1f42c8aacf937ec6.tar.gz
scummvm-rg350-49ca357e9ef19aa2650ca42b1f42c8aacf937ec6.tar.bz2
scummvm-rg350-49ca357e9ef19aa2650ca42b1f42c8aacf937ec6.zip
MADS: Remove redundant _encoding field from MSprite
Diffstat (limited to 'engines/mads/sprites.cpp')
-rw-r--r--engines/mads/sprites.cpp3
1 files changed, 1 insertions, 2 deletions
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<DepthEntry> DepthList;
/*------------------------------------------------------------------------*/
MSprite::MSprite(): MSurface() {
- _encoding = 0;
}
MSprite::MSprite(Common::SeekableReadStream *source, const Common::Array<RGB6> &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);
}