diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-08-16 12:23:19 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-08-16 12:23:19 +0300 |
commit | 29c9d3d5f44ea6bb812a7d66d3ce582a1aeb7557 (patch) | |
tree | 487ac8d1bb01a8171cf58ef8905caaebf0632100 | |
parent | 136657bcc103ee641a7d8702c41d55501c48f245 (diff) | |
download | minetest-29c9d3d5f44ea6bb812a7d66d3ce582a1aeb7557.tar.gz minetest-29c9d3d5f44ea6bb812a7d66d3ce582a1aeb7557.tar.bz2 minetest-29c9d3d5f44ea6bb812a7d66d3ce582a1aeb7557.zip |
Implemented MEET_OTHER
-rw-r--r-- | src/server.cpp | 10 |
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 { |