aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/vga13h.cpp
diff options
context:
space:
mode:
authoruruk2014-07-17 15:41:49 +0200
committeruruk2014-07-17 15:41:49 +0200
commitd9e82f8f8e1db2f5a3b03a512643b46553bcc88a (patch)
tree2ef521de7f96e8780fac2c1fd5e4bf69aa75959a /engines/cge2/vga13h.cpp
parenta82bd2d9c600cd50fc29c3078f9f2d8c79ea18ff (diff)
downloadscummvm-rg350-d9e82f8f8e1db2f5a3b03a512643b46553bcc88a.tar.gz
scummvm-rg350-d9e82f8f8e1db2f5a3b03a512643b46553bcc88a.tar.bz2
scummvm-rg350-d9e82f8f8e1db2f5a3b03a512643b46553bcc88a.zip
CGE2: Get rid of _sprite.
Diffstat (limited to 'engines/cge2/vga13h.cpp')
-rw-r--r--engines/cge2/vga13h.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp
index 02d536c3e8..ea82fb7880 100644
--- a/engines/cge2/vga13h.cpp
+++ b/engines/cge2/vga13h.cpp
@@ -114,9 +114,6 @@ Sprite::Sprite(CGE2Engine *vm, BitmapPtr shpP, int cnt)
}
Sprite::~Sprite() {
- if (_vm->_sprite == this)
- _vm->_sprite = nullptr;
-
contract();
}