mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Little more work on pregame. Fixed some leaks.
Fixed: #80, #159, #234, #235, #319, #320, #430
This commit is contained in:
@ -131,10 +131,12 @@ void AdventureMapButton::clickLeft(tribool down, bool previousState)
|
||||
if (down)
|
||||
{
|
||||
CGI->soundh->playSound(soundBase::button);
|
||||
state=1;
|
||||
state = 1;
|
||||
}
|
||||
else if(hoverable && hovered)
|
||||
state = 3;
|
||||
else
|
||||
state=0;
|
||||
state = 0;
|
||||
|
||||
show(screenBuf);
|
||||
if (actOnDown && down)
|
||||
|
Reference in New Issue
Block a user