diff options
author | Paul Gilbert | 2014-11-27 17:33:42 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:49:06 -0500 |
commit | 64b45e68aa10954edafe34139386b4cd7042ad74 (patch) | |
tree | 5d89decc4fde53d50b3205c8c0a12c8401b78ea7 /engines | |
parent | f6a1faa5e4ea7b35b3dd9d1bd942858dd31cdbde (diff) | |
download | scummvm-rg350-64b45e68aa10954edafe34139386b4cd7042ad74.tar.gz scummvm-rg350-64b45e68aa10954edafe34139386b4cd7042ad74.tar.bz2 scummvm-rg350-64b45e68aa10954edafe34139386b4cd7042ad74.zip |
ACCESS: Fix loading or exiting game when Maya is active player
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/player.cpp | 4 |
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; } |