aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-18 00:01:50 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-18 00:01:50 +0300
commit78f4142f4ff033351030a2008f76c6bf8768780c (patch)
tree9c393d679276546f4d599b71912a4db56c196352 /src/server.cpp
parentea1fda5ebc7fe0aa276de768cacd81df365c69a3 (diff)
downloadminetest-78f4142f4ff033351030a2008f76c6bf8768780c.tar.gz
minetest-78f4142f4ff033351030a2008f76c6bf8768780c.tar.bz2
minetest-78f4142f4ff033351030a2008f76c6bf8768780c.zip
Add /clearobjects
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 14c019d52..3a3d0b823 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -4136,6 +4136,11 @@ void Server::notifyPlayer(const char *name, const std::wstring msg)
SendChatMessage(player->peer_id, std::wstring(L"Server: -!- ")+msg);
}
+void Server::notifyPlayers(const std::wstring msg)
+{
+ BroadcastChatMessage(msg);
+}
+
v3f findSpawnPos(ServerMap &map)
{
//return v3f(50,50,50)*BS;