1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Client::makeScreenshot: remove device param

We already have the device param as class member
This commit is contained in:
Loic Blot
2017-06-19 00:00:55 +02:00
parent 4faaadc8d5
commit 8f2e60a961
5 changed files with 6 additions and 8 deletions

View File

@@ -3282,7 +3282,7 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
return true;
} else if (m_client != NULL && event.KeyInput.PressedDown &&
(kp == getKeySetting("keymap_screenshot"))) {
m_client->makeScreenshot(m_device);
m_client->makeScreenshot();
}
if (event.KeyInput.PressedDown &&
(event.KeyInput.Key==KEY_RETURN ||