aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-12-20 01:03:58 +0100
committerShauren <shauren.trinity@gmail.com>2022-12-20 01:03:58 +0100
commit21940405e009f5c1d201eb96d96ea251a3313af3 (patch)
tree1f9ec696204922f921ff1e32da3714f8706bd28c /src/server/game/Instances/InstanceScript.h
parent85d5f4bc0683d99cfaab244a8f0355b463f93267 (diff)
Core/Battlegrounds: Made Battleground inherit ZoneScript
Closes #28480
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r--src/server/game/Instances/InstanceScript.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h
index 05be59d2b72..33c9abadd01 100644
--- a/src/server/game/Instances/InstanceScript.h
+++ b/src/server/game/Instances/InstanceScript.h
@@ -182,7 +182,10 @@ class TC_GAME_API InstanceScript : public ZoneScript
{
public:
explicit InstanceScript(InstanceMap* map);
-
+ InstanceScript(InstanceScript const& right) = delete;
+ InstanceScript(InstanceScript&& right) = delete;
+ InstanceScript& operator=(InstanceScript const& right) = delete;
+ InstanceScript& operator=(InstanceScript&& right) = delete;
virtual ~InstanceScript();
InstanceMap* instance;