Bugfixes, added sound to portal and enemy in JSON

This commit is contained in:
2016-06-21 13:51:16 +02:00
parent 7c4805d899
commit 8700aa90af
18 changed files with 98 additions and 22 deletions
+2 -4
View File
@@ -369,6 +369,7 @@ void Model::unload(Model* model)
{
delete m.second.first;
cache.erase(cache.find(m.first));
break;
}
}
@@ -377,8 +378,5 @@ void Model::unload(Model* model)
Model::~Model(void)
{
for (auto m : cache)
{
delete m.second.first;
}
}