projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
136657b
)
Implemented MEET_OTHER
author
Perttu Ahola
<celeron55@gmail.com>
Tue, 16 Aug 2011 09:23:19 +0000
(12:23 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 16 Aug 2011 09:23:19 +0000
(12:23 +0300)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index 383381c9fc824f4dfe6ec28fd418f6ff6e71024c..5b657bc2efe8c51853798ad840c5fca7ccdd9895 100644
(file)
--- 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
{