aboutsummaryrefslogtreecommitdiff
path: root/src/client/game.cpp
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2019-09-14 20:31:07 +0200
committerSmallJoker <mk939@ymail.com>2019-09-14 20:42:54 +0200
commit1de4ca1f9dc85d8cb1e1fdb369e3fe48e76590dc (patch)
treeb07dd98479873277890dfa9fe43d51c8dcc850f9 /src/client/game.cpp
parent8e42a25e570565b2ad30717b914ace84b08c87ec (diff)
downloadminetest-1de4ca1f9dc85d8cb1e1fdb369e3fe48e76590dc.tar.gz
minetest-1de4ca1f9dc85d8cb1e1fdb369e3fe48e76590dc.tar.bz2
minetest-1de4ca1f9dc85d8cb1e1fdb369e3fe48e76590dc.zip
Built-in formspecs: Force version 1
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r--src/client/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index bc35ade85..2b0976649 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -3981,7 +3981,7 @@ void Game::extendedResourceCleanup()
void Game::showDeathFormspec()
{
static std::string formspec_str =
- std::string(FORMSPEC_VERSION_STRING) +
+ std::string("formspec_version[1]") +
SIZE_TAG
"bgcolor[#320000b4;true]"
"label[4.85,1.35;" + gettext("You died") + "]"
@@ -4055,7 +4055,7 @@ void Game::showPauseMenu()
float ypos = simple_singleplayer_mode ? 0.7f : 0.1f;
std::ostringstream os;
- os << FORMSPEC_VERSION_STRING << SIZE_TAG
+ os << "formspec_version[1]" << SIZE_TAG
<< "button_exit[4," << (ypos++) << ";3,0.5;btn_continue;"
<< strgettext("Continue") << "]";