Remove All Memory leaks
This commit is contained in:
@@ -34,8 +34,9 @@ Player::Player(Player&& other) {
|
||||
|
||||
Player::~Player() {
|
||||
delete m_walkAnimation;
|
||||
// delete m_turnAnimation;
|
||||
// delete m_digAnimation;
|
||||
delete m_turnAnimation;
|
||||
delete m_digAnimation;
|
||||
delete m_digStartAnimation;
|
||||
}
|
||||
|
||||
Collision::CollisionRect Player::GetCollisionRect() const {
|
||||
|
||||
Reference in New Issue
Block a user