aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-05-13 09:09:02 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-05-13 09:10:43 +0200
commit5cb7f6a9b7268ee6bfa5eae4f8af9613403f9965 (patch)
treebcbed5fbdb5fdb58e383477f46bc1952bb4f2dba
parent98327a59c475741d01264173695470c84d63e2d1 (diff)
downloadminetest-5cb7f6a9b7268ee6bfa5eae4f8af9613403f9965.tar.gz
minetest-5cb7f6a9b7268ee6bfa5eae4f8af9613403f9965.tar.bz2
minetest-5cb7f6a9b7268ee6bfa5eae4f8af9613403f9965.zip
Android build fix
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 640091de2..2b7d50eb5 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -4553,10 +4553,10 @@ void Game::showPauseMenu()
GET_KEY_NAME(keymap_chat)
);
-#endif
-
std::string control_text = std::string(control_text_buf);
str_formspec_escape(control_text);
+#endif
+
float ypos = simple_singleplayer_mode ? 0.7f : 0.1f;
std::ostringstream os;