mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Add dtime_s to entity activation
This commit is contained in:
@@ -312,7 +312,7 @@ private:
|
||||
Returns the id of the object.
|
||||
Returns 0 if not added and thus deleted.
|
||||
*/
|
||||
u16 addActiveObjectRaw(ServerActiveObject *object, bool set_changed);
|
||||
u16 addActiveObjectRaw(ServerActiveObject *object, bool set_changed, u32 dtime_s);
|
||||
|
||||
/*
|
||||
Remove all objects that satisfy (m_removed && m_known_by_count==0)
|
||||
@@ -322,7 +322,7 @@ private:
|
||||
/*
|
||||
Convert stored objects from block to active
|
||||
*/
|
||||
void activateObjects(MapBlock *block);
|
||||
void activateObjects(MapBlock *block, u32 dtime_s);
|
||||
|
||||
/*
|
||||
Convert objects that are not in active blocks to static.
|
||||
|
Reference in New Issue
Block a user