mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Make node timers more efficient
This commit is contained in:
@@ -488,9 +488,9 @@ public:
|
||||
m_node_timers.remove(p);
|
||||
}
|
||||
|
||||
inline void setNodeTimer(v3s16 p, NodeTimer t)
|
||||
inline void setNodeTimer(const NodeTimer &t)
|
||||
{
|
||||
m_node_timers.set(p,t);
|
||||
m_node_timers.set(t);
|
||||
}
|
||||
|
||||
inline void clearNodeTimers()
|
||||
|
Reference in New Issue
Block a user