mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add dtime_s to entity activation
This commit is contained in:
parent
1cc1b93e65
commit
9cadaf824b
8 changed files with 23 additions and 22 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue