mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-23 04:45:24 +02:00
Performance fix + SAO factorization
Original credits goes to @Rogier-5 * Merge common attributes between LuaEntitySAO & PlayerSAO to UnitSAO * Make some functions const * Improve some lists performance by returning const ref Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
This commit is contained in:
@@ -130,7 +130,7 @@ public:
|
||||
|
||||
ClientActiveObject *getParent();
|
||||
|
||||
bool getCollisionBox(aabb3f *toset);
|
||||
bool getCollisionBox(aabb3f *toset) const;
|
||||
|
||||
bool collideWithObjects();
|
||||
|
||||
|
Reference in New Issue
Block a user