1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Add /clearobjects

This commit is contained in:
Perttu Ahola 2011-10-18 00:01:50 +03:00
parent ea1fda5ebc
commit 78f4142f4f
7 changed files with 185 additions and 166 deletions

View file

@ -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;