mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make node timers more efficient
This commit is contained in:
parent
27aff22a9b
commit
559dd99469
8 changed files with 125 additions and 77 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue