mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 09:18:00 +03:00
Delete copy operations for GameScriptAIObject, GameScriptCameraInfo, GameScriptSinkInfo and GameScriptSoundSourceInfo - this can be changed later, but for now is a safety measure since we hold a reference, which means copying these would take some extra thought.
This commit is contained in:
parent
b94cc960a2
commit
08a5df8ab4
4 changed files with 14 additions and 0 deletions
|
@ -14,6 +14,9 @@ public:
|
|||
GameScriptAIObject(AI_OBJECT& ref, bool temp);
|
||||
~GameScriptAIObject();
|
||||
|
||||
GameScriptAIObject& operator=(GameScriptAIObject const& other) = delete;
|
||||
GameScriptAIObject(GameScriptAIObject const& other) = delete;
|
||||
|
||||
static void Register(sol::state *);
|
||||
|
||||
GameScriptPosition GetPos() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue