aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.h
diff options
context:
space:
mode:
authorOvah <dreadkiller@gmx.de>2020-11-17 19:45:13 +0100
committerGitHub <noreply@github.com>2020-11-17 19:45:13 +0100
commit850b88546ff958d751bf4c1962731610ddc95617 (patch)
tree18a74eb01e32de166d66d0a749254dda782e3ef4 /src/server/game/Instances/InstanceScript.h
parente6b945eabcdeded8043e40b4e5ede41bd26701dd (diff)
Scripts/Misc: Use InstanceMap* in InstanceScript instead of Map* (#25655)
# Conflicts: # src/server/game/Instances/InstanceScript.cpp # src/server/game/Instances/InstanceScript.h # src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/instance_blackrock_caverns.cpp # src/server/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp # src/server/scripts/EasternKingdoms/TheStockade/instance_the_stockade.cpp # src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp # src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp # src/server/scripts/Maelstrom/Stonecore/instance_stonecore.cpp # src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp Co-authored-by: Shauren <shauren.trinity@gmail.com>
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r--src/server/game/Instances/InstanceScript.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h
index 5b6846ec562..bd93498877a 100644
--- a/src/server/game/Instances/InstanceScript.h
+++ b/src/server/game/Instances/InstanceScript.h
@@ -42,8 +42,8 @@ namespace WorldPackets
class AreaBoundary;
class Creature;
class GameObject;
+class InstanceMap;
struct InstanceSpawnGroupInfo;
-class Map;
class ModuleReference;
class Player;
class Unit;
@@ -155,11 +155,11 @@ typedef std::map<uint32 /*entry*/, uint32 /*type*/> ObjectInfoMap;
class TC_GAME_API InstanceScript : public ZoneScript
{
public:
- explicit InstanceScript(Map* map);
+ explicit InstanceScript(InstanceMap* map);
virtual ~InstanceScript() { }
- Map* instance;
+ InstanceMap* instance;
// On instance load, exactly ONE of these methods will ALWAYS be called:
// if we're starting without any saved instance data