diff options
author | Eugene Sandulenko | 2016-05-02 17:32:43 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-02 17:32:43 +0200 |
commit | 35476908f0abfa1dada13a8e654b7d4544427d80 (patch) | |
tree | 1e0435c63cb642dbea799fef9ef402569b96c1a6 /engines/toltecs/sprite.cpp | |
parent | 375cac6d79a50a68b7513ba77e216eea1363ad01 (diff) | |
download | scummvm-rg350-35476908f0abfa1dada13a8e654b7d4544427d80.tar.gz scummvm-rg350-35476908f0abfa1dada13a8e654b7d4544427d80.tar.bz2 scummvm-rg350-35476908f0abfa1dada13a8e654b7d4544427d80.zip |
TOLTECS: Initialize class variables
Diffstat (limited to 'engines/toltecs/sprite.cpp')
-rw-r--r-- | engines/toltecs/sprite.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/toltecs/sprite.cpp b/engines/toltecs/sprite.cpp index f29f64dcfe..be4be5d9e3 100644 --- a/engines/toltecs/sprite.cpp +++ b/engines/toltecs/sprite.cpp @@ -84,6 +84,7 @@ public: _yerror = _sprite->yerror; _origHeight = _sprite->origHeight; _scalerStatus = 0; + _xerror = 0; } SpriteReaderStatus readPacket(PixelPacket &packet) { SpriteReaderStatus status = kSrsPixelsLeft; @@ -135,6 +136,8 @@ public: _yerror = _sprite->yerror; _origHeight = _sprite->origHeight; _scalerStatus = 0; + _sourcep = 0; + _xerror = 0; } SpriteReaderStatus readPacket(PixelPacket &packet) { SpriteReaderStatus status; |