aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/sprites.cpp3
-rw-r--r--engines/mads/sprites.h1
2 files changed, 1 insertions, 3 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);
}
diff --git a/engines/mads/sprites.h b/engines/mads/sprites.h
index e0e91dc974..2d5b2089b9 100644
--- a/engines/mads/sprites.h
+++ b/engines/mads/sprites.h
@@ -111,7 +111,6 @@ public:
virtual ~MSprite();
Common::Point _offset;
- uint8 _encoding;
byte getTransparencyIndex() const;
};