aboutsummaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h
index 055e2b1f6..d93caac3b 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -176,6 +176,14 @@ public:
u16 addActiveObject(ServerActiveObject *object);
/*
+ Add an active object as a static object to the corresponding
+ MapBlock.
+ Caller allocates memory, ServerEnvironment frees memory.
+ Return value: true if succeeded, false if failed.
+ */
+ bool addActiveObjectAsStatic(ServerActiveObject *object);
+
+ /*
Find out what new objects have been added to
inside a radius around a position
*/