diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-10 16:20:31 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-10 16:20:31 +0300 |
commit | 7aa2d4d109cf8a92582a271d505f20a0f348f5a3 (patch) | |
tree | 265dc64c7c3abba94e0883907cacb03b0133fea4 /src/serverobject.h | |
parent | 1a32e5585f542a400c48e6befbbb0aade631e506 (diff) | |
download | minetest-7aa2d4d109cf8a92582a271d505f20a0f348f5a3.tar.gz minetest-7aa2d4d109cf8a92582a271d505f20a0f348f5a3.tar.bz2 minetest-7aa2d4d109cf8a92582a271d505f20a0f348f5a3.zip |
new-style rats are now generated in the map
Diffstat (limited to 'src/serverobject.h')
-rw-r--r-- | src/serverobject.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/serverobject.h b/src/serverobject.h index d3dabdd4d..76f7d01d6 100644 --- a/src/serverobject.h +++ b/src/serverobject.h @@ -78,6 +78,10 @@ class InventoryItem; class ServerActiveObject : public ActiveObject { public: + /* + NOTE: m_env can be NULL, but step() isn't called if it is. + Prototypes are used that way. + */ ServerActiveObject(ServerEnvironment *env, u16 id, v3f pos); virtual ~ServerActiveObject(); @@ -101,7 +105,7 @@ public: Messages added to messages are sent to client over network. send_recommended: - True at around 5 times a second, same for all objects. + True at around 5-10 times a second, same for all objects. This is used to let objects send most of the data at the same time so that the data can be combined in a single packet. |