aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-06-19 00:00:55 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-06-19 00:00:55 +0200
commit8f2e60a9619f3db2dea752626e778f753c0714bc (patch)
tree3b2c3733e60138f615a0a9b30131173c0438a8a4 /src/game.cpp
parent4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f (diff)
downloadminetest-8f2e60a9619f3db2dea752626e778f753c0714bc.tar.gz
minetest-8f2e60a9619f3db2dea752626e778f753c0714bc.tar.bz2
minetest-8f2e60a9619f3db2dea752626e778f753c0714bc.zip
Client::makeScreenshot: remove device param
We already have the device param as class member
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index fc6df462d..325557723 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -2524,7 +2524,7 @@ void Game::processKeyInput()
} else if (wasKeyDown(KeyType::CINEMATIC)) {
toggleCinematic();
} else if (wasKeyDown(KeyType::SCREENSHOT)) {
- client->makeScreenshot(device);
+ client->makeScreenshot();
} else if (wasKeyDown(KeyType::TOGGLE_HUD)) {
toggleHud();
} else if (wasKeyDown(KeyType::MINIMAP)) {