Fix memory leaks in GenericCAO, ShaderSource and Player classes

This commit is contained in:
sapier
2014-07-02 23:33:18 +02:00
parent 3d6d66b181
commit b8343cd11c
3 changed files with 8 additions and 3 deletions

View File

@@ -100,6 +100,7 @@ Player::Player(IGameDef *gamedef):
Player::~Player()
{
clearHud();
}
// Horizontal acceleration (X and Z), Y direction is ignored