summaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-01-03 17:59:28 +0000
committerPerttu Ahola <celeron55@gmail.com>2013-01-07 19:00:33 +0200
commit0b1d09ff4f4e92986f6abdbc57db97c18707196a (patch)
tree1ae8016123a1c031406653c924c6f32e1e24db43 /src/server.h
parent8b75736c6f747ec4d01419ee6475e03feab398b9 (diff)
downloadminetest-0b1d09ff4f4e92986f6abdbc57db97c18707196a.tar.gz
minetest-0b1d09ff4f4e92986f6abdbc57db97c18707196a.tar.bz2
minetest-0b1d09ff4f4e92986f6abdbc57db97c18707196a.zip
Fix buttons not working for Lua-triggered formspecs
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.h b/src/server.h
index 19c29cbd7..43beb167a 100644
--- a/src/server.h
+++ b/src/server.h
@@ -583,7 +583,7 @@ public:
m_async_fatal_error.set(error);
}
- bool showFormspec(const char *name, const std::string &formspec);
+ bool showFormspec(const char *name, const std::string &formspec, const std::string &formname);
private:
// con::PeerHandler implementation.
@@ -621,7 +621,7 @@ private:
void SendMovePlayer(u16 peer_id);
void SendPlayerPrivileges(u16 peer_id);
void SendPlayerInventoryFormspec(u16 peer_id);
- void SendShowFormspecMessage(u16 peer_id, const std::string formspec);
+ void SendShowFormspecMessage(u16 peer_id, const std::string formspec, const std::string formname);
/*
Send a node removal/addition event to all clients except ignore_id.
Additionally, if far_players!=NULL, players further away than