Merge pull request #23 from CrystalPointA4/feature/soundsystemfix

Sound pointers worden gedelete
This commit is contained in:
2016-06-21 15:42:09 +02:00
committed by GitHub
6 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ Enemy::~Enemy()
if (model)
Model::unload(model);
delete music;
CrystalPoint::GetSoundSystem().UnloadSound(hit_sound_id);
}
void Enemy::draw()