1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-25 14:15:46 +00:00

Two little localzation patch additions, by Henrik Holst.

This commit is contained in:
fgenesis 2012-06-13 23:37:21 +02:00
parent 67bdd77a9f
commit a6fc88d885
2 changed files with 3 additions and 7 deletions

View file

@ -220,11 +220,7 @@ void AquariaSaveSlot::onUpdate(float dt)
else if ((!core->mouse.buttons.left && !core->mouse.buttons.right) && mbDown)
{
mbDown = false;
if (text1->getText().find(dsq->continuity.stringBank.get(2003))!=std::string::npos && dsq->saveSlotMode == SSM_LOAD)
{
}
else
if (!(empty && dsq->saveSlotMode == SSM_LOAD))
{
selected = true;
// pick this file

View file

@ -1200,11 +1200,11 @@ void Continuity::loadSongBank()
songSlotNames.clear();
songBank.clear();
loadIntoSongBank("data/songs.xml");
loadIntoSongBank(dsq->user.localisePath("data/songs.xml"));
if (dsq->mod.isActive())
{
loadIntoSongBank(dsq->mod.getPath() + "scripts/songs.xml");
loadIntoSongBank(dsq->user.localisePath(dsq->mod.getPath() + "scripts/songs.xml", dsq->mod.getPath()));
}
}