mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-16 20:41:47 +01:00
Add alot of memory leak fixes
This commit is contained in:
@@ -24,8 +24,8 @@ Player::Player(const Vector2f& Position, TextureManager* manager) : m_Position(P
|
||||
|
||||
Player::~Player() {
|
||||
delete m_walkAnimation;
|
||||
delete m_turnAnimation;
|
||||
delete m_digAnimation;
|
||||
// delete m_turnAnimation;
|
||||
// delete m_digAnimation;
|
||||
}
|
||||
|
||||
Collision::CollisionRect Player::GetCollisionRect() const {
|
||||
|
||||
Reference in New Issue
Block a user