aboutsummaryrefslogtreecommitdiff
path: root/engines/access/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/player.cpp')
-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;
}