1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-10 16:19:59 +00:00

Fix wrongly adding shield song when loading a savegame. Also add obj_getTexture() function.

This commit is contained in:
fgenesis 2012-07-10 22:50:31 +02:00
parent 37654f4c8c
commit 84c49e5ce0
3 changed files with 11 additions and 1 deletions

View file

@ -2543,6 +2543,7 @@ void Continuity::loadFile(int slot)
{
dsq->user.save();
this->reset();
knowsSong.clear(); // Adds shield song by default, which interferes with mods that don't start with it
TiXmlDocument doc;
loadFileData(slot, doc);