aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-11-27 17:33:42 -0500
committerPaul Gilbert2014-12-12 22:49:06 -0500
commit64b45e68aa10954edafe34139386b4cd7042ad74 (patch)
tree5d89decc4fde53d50b3205c8c0a12c8401b78ea7
parentf6a1faa5e4ea7b35b3dd9d1bd942858dd31cdbde (diff)
downloadscummvm-rg350-64b45e68aa10954edafe34139386b4cd7042ad74.tar.gz
scummvm-rg350-64b45e68aa10954edafe34139386b4cd7042ad74.tar.bz2
scummvm-rg350-64b45e68aa10954edafe34139386b4cd7042ad74.zip
ACCESS: Fix loading or exiting game when Maya is active player
-rw-r--r--engines/access/player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/player.cpp b/engines/access/player.cpp
index b5046632c5..b945b76600 100644
--- a/engines/access/player.cpp
+++ b/engines/access/player.cpp
@@ -76,7 +76,7 @@ Player::Player(AccessEngine *vm): Manager(vm), ImageEntry() {
}
Player::~Player() {
- delete _playerSprites1;
+ delete _playerSprites;
delete[] _manPal1;
}
@@ -132,7 +132,7 @@ void Player::loadSprites(const Common::String &name) {
}
void Player::freeSprites() {
- delete _playerSprites1;
+ delete _playerSprites;
_playerSprites1 = nullptr;
_playerSprites = nullptr;
}