mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 18:55:29 +02:00
Increase safety checks around ObjectRefs
This commit is contained in:
@@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
class MockServerActiveObject : public ServerActiveObject
|
||||
{
|
||||
public:
|
||||
MockServerActiveObject(ServerEnvironment *env = nullptr, const v3f &p = v3f()) :
|
||||
MockServerActiveObject(ServerEnvironment *env = nullptr, v3f p = v3f()) :
|
||||
ServerActiveObject(env, p) {}
|
||||
|
||||
virtual ActiveObjectType getType() const { return ACTIVEOBJECT_TYPE_TEST; }
|
||||
|
Reference in New Issue
Block a user