1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Some more random code cleanups

This commit is contained in:
sfan5 2025-03-18 22:11:37 +01:00
parent f63436c8d3
commit db15bc6466
7 changed files with 49 additions and 43 deletions

View file

@ -313,6 +313,7 @@ public:
bool onObjectsActivation();
bool saveStaticObject(u16 id, const StaticObject &obj, u32 reason);
/// @note This method is only for Server, don't call it on client
void step(float dtime, const std::function<bool(v3s16, MapNode, f32)> &on_timer_cb);
////
@ -337,6 +338,7 @@ public:
return m_timestamp;
}
/// @deprecated don't use in new code, unclear semantics.
inline u32 getDiskTimestamp()
{
return m_disk_timestamp;