Sound pointers worden gedelete

This commit is contained in:
Aaldert
2016-06-21 14:45:41 +02:00
parent 6096e53d94
commit eadfea9d63
6 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ Enemy::~Enemy()
if (model)
Model::unload(model);
delete music;
CrystalPoint::GetSoundSystem().UnloadSound(hit_sound_id);
}
void Enemy::draw()