mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
clientobject, clouds, collision, clientsimpleobject: code modernization (#6260)
* clientobject, clouds, collision, clientsimpleobject: code modernization * use range-based for loops * simplify some tests * various code style fixes * use emplace_back instead of push_back when necessary * use auto on some iterators * use default operator when needed * unroll v3s16 creation on collisionMoveSimple
This commit is contained in:
@@ -29,8 +29,9 @@ protected:
|
||||
public:
|
||||
bool m_to_be_removed = false;
|
||||
|
||||
ClientSimpleObject() {}
|
||||
virtual ~ClientSimpleObject() {}
|
||||
ClientSimpleObject() = default;
|
||||
virtual ~ClientSimpleObject() = default;
|
||||
|
||||
virtual void step(float dtime) {}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user