aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-08-16 12:23:19 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-08-16 12:23:19 +0300
commit29c9d3d5f44ea6bb812a7d66d3ce582a1aeb7557 (patch)
tree487ac8d1bb01a8171cf58ef8905caaebf0632100 /src
parent136657bcc103ee641a7d8702c41d55501c48f245 (diff)
downloadminetest-29c9d3d5f44ea6bb812a7d66d3ce582a1aeb7557.tar.gz
minetest-29c9d3d5f44ea6bb812a7d66d3ce582a1aeb7557.tar.bz2
minetest-29c9d3d5f44ea6bb812a7d66d3ce582a1aeb7557.zip
Implemented MEET_OTHER
Diffstat (limited to 'src')
-rw-r--r--src/server.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 383381c9f..5b657bc2e 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -1732,9 +1732,15 @@ void Server::AsyncRunStep()
}
else if(event->type == MEET_OTHER)
{
+ dstream<<"Server: MEET_OTHER"<<std::endl;
prof.add("MEET_OTHER", 1);
- dstream<<"WARNING: Server: MEET_OTHER not implemented"
- <<std::endl;
+ for(core::map<v3s16, bool>::Iterator
+ i = event->modified_blocks.getIterator();
+ i.atEnd()==false; i++)
+ {
+ v3s16 p = i.getNode()->getKey();
+ setBlockNotSent(p);
+ }
}
else
{