mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
* more constTransitivePointers in GameInfo, separated client GUI classes from it, moved def handlers from CGDefInfo
This commit is contained in:
@ -142,7 +142,7 @@ void AdventureMapButton::clickLeft(tribool down, bool previousState)
|
||||
|
||||
if (down)
|
||||
{
|
||||
CGI->soundh->playSound(soundBase::button);
|
||||
CCS->soundh->playSound(soundBase::button);
|
||||
state = 1;
|
||||
}
|
||||
else if(hoverable && hovered)
|
||||
@ -295,7 +295,7 @@ void CHighlightableButton::clickLeft(tribool down, bool previousState)
|
||||
return;
|
||||
if (down)
|
||||
{
|
||||
CGI->soundh->playSound(soundBase::button);
|
||||
CCS->soundh->playSound(soundBase::button);
|
||||
state = 1;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user