From ef9b4aea5e97ffbd4c0f611bef6fab6e554d82ff Mon Sep 17 00:00:00 2001 From: joschiwald Date: Sun, 7 Sep 2014 00:42:14 +0200 Subject: Core/InstanceScript: refactored load and save methods --- src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp | 1 + src/server/scripts/EasternKingdoms/Stratholme/stratholme.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/server/scripts/EasternKingdoms/Stratholme') diff --git a/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp b/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp index ecdc66d3e0f..43ce4d05297 100644 --- a/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp +++ b/src/server/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp @@ -49,6 +49,7 @@ class instance_stratholme : public InstanceMapScript { instance_stratholme_InstanceMapScript(Map* map) : InstanceScript(map) { + SetHeaders(DataHeader); } uint32 EncounterState[MAX_ENCOUNTER]; diff --git a/src/server/scripts/EasternKingdoms/Stratholme/stratholme.h b/src/server/scripts/EasternKingdoms/Stratholme/stratholme.h index 9e4c88f5856..687512ea92d 100644 --- a/src/server/scripts/EasternKingdoms/Stratholme/stratholme.h +++ b/src/server/scripts/EasternKingdoms/Stratholme/stratholme.h @@ -19,6 +19,8 @@ #ifndef DEF_STRATHOLME_H #define DEF_STRATHOLME_H +#define DataHeader "STR" + enum DataTypes { TYPE_BARON_RUN = 1, -- cgit v1.2.3