diff options
Diffstat (limited to 'src/progs/manaplus/actions/actions.cpp')
-rw-r--r-- | src/progs/manaplus/actions/actions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index 322599791..452f0c368 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -373,7 +373,8 @@ impHandler0(mouseClick) if ((guiInput == nullptr) || (gui == nullptr)) return false; - int mouseX, mouseY; + int mouseX; + int mouseY; Gui::getMouseState(mouseX, mouseY); guiInput->simulateMouseClick(mouseX, mouseY, MouseButton::RIGHT); return true; |