mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Replaced clickReleased with clickPressed where applicable in H3
This commit is contained in:
@@ -51,7 +51,7 @@ CSpellWindow::InteractiveArea::InteractiveArea(const Rect & myRect, std::functio
|
||||
owner = _owner;
|
||||
}
|
||||
|
||||
void CSpellWindow::InteractiveArea::clickReleased(const Point & cursorPosition)
|
||||
void CSpellWindow::InteractiveArea::clickPressed(const Point & cursorPosition)
|
||||
{
|
||||
onLeft();
|
||||
}
|
||||
@@ -471,7 +471,7 @@ CSpellWindow::SpellArea::SpellArea(Rect pos, CSpellWindow * owner)
|
||||
|
||||
CSpellWindow::SpellArea::~SpellArea() = default;
|
||||
|
||||
void CSpellWindow::SpellArea::clickReleased(const Point & cursorPosition)
|
||||
void CSpellWindow::SpellArea::clickPressed(const Point & cursorPosition)
|
||||
{
|
||||
if(mySpell)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user