mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-07 00:58:39 +02:00
@ -371,10 +371,12 @@ void CAdventureMapButton::init(const CFunctionList<void()> &Callback, const std:
|
||||
callback = Callback;
|
||||
hoverable = actOnDown = borderEnabled = soundDisabled = false;
|
||||
borderColor.unused = 1; // represents a transparent color, used for HighlightableButton
|
||||
assignedKeys.insert(key);
|
||||
hoverTexts = Name;
|
||||
helpBox=HelpBox;
|
||||
|
||||
if (key != SDLK_UNKNOWN)
|
||||
assignedKeys.insert(key);
|
||||
|
||||
pos.x += x;
|
||||
pos.y += y;
|
||||
|
||||
|
Reference in New Issue
Block a user