diff options
Diffstat (limited to 'src/serverobject.h')
-rw-r--r-- | src/serverobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serverobject.h b/src/serverobject.h index 7e767188a..26dce007f 100644 --- a/src/serverobject.h +++ b/src/serverobject.h @@ -54,7 +54,8 @@ public: ServerActiveObject(ServerEnvironment *env, v3f pos); virtual ~ServerActiveObject(); - virtual void addedToEnvironment(u16 id); + // Call after id has been set and has been inserted in environment + virtual void addedToEnvironment(); // Create a certain type of ServerActiveObject static ServerActiveObject* create(u8 type, |