mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-16 21:11:47 +01:00
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