mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-21 20:05:45 +02:00
Speedup attachement handling by replacing vector search by direct array access and secondary child lookup vector
This commit is contained in:
@@ -102,6 +102,8 @@ private:
|
||||
u8 m_last_light;
|
||||
bool m_is_visible;
|
||||
|
||||
std::vector<u16> m_children;
|
||||
|
||||
public:
|
||||
GenericCAO(IGameDef *gamedef, ClientEnvironment *env);
|
||||
|
||||
|
Reference in New Issue
Block a user