From 7aa2d4d109cf8a92582a271d505f20a0f348f5a3 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 10 Apr 2011 16:20:31 +0300 Subject: new-style rats are now generated in the map --- src/serverobject.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/serverobject.h') 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. -- cgit v1.2.3