mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix remaining issues with mapgen scriptapi
This commit is contained in:
@@ -66,6 +66,7 @@ protected:
|
||||
// WARNING: Ownership of ObjDefs is transferred to the ObjDefManager it is
|
||||
// added/set to. Note that ObjDefs managed by ObjDefManager are NOT refcounted,
|
||||
// so the same ObjDef instance must not be referenced multiple
|
||||
// TODO: const correctness for getter methods
|
||||
class ObjDefManager {
|
||||
public:
|
||||
ObjDefManager(IGameDef *gamedef, ObjDefType type);
|
||||
|
Reference in New Issue
Block a user