1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-15 14:09:06 +00:00

Close singing interface + abort any song when avatar_setBlockSinging(true) is called

This commit is contained in:
fgenesis 2013-07-29 16:32:18 +02:00
parent ffd425892f
commit 212a680541

View file

@ -3320,6 +3320,11 @@ void Avatar::startCharge(int ability)
void Avatar::setBlockSinging(bool v) void Avatar::setBlockSinging(bool v)
{ {
blockSinging = v; blockSinging = v;
if (v)
{
currentSong.notes.clear(); // abort singing without triggering a song, if queued
closeSingingInterface();
}
} }
bool Avatar::canSetBoneLock() bool Avatar::canSetBoneLock()