aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-06-18 05:34:04 -0300
committerariel- <ariel-@users.noreply.github.com>2017-06-18 05:34:04 -0300
commit08d01053969fe0c243e214d49adf7ca7513e76ea (patch)
treece3126c3cea68c07a04d0e7870771b726b7be8e5 /src
parent4b9b1d485df1f00637cd34cb5dcd7204e7cad2f5 (diff)
Core/Scripts: fix array out of bounds in Pit of Saron doorData
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp
index 8be0f22bee6..652aed172fc 100644
--- a/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp
+++ b/src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp
@@ -27,9 +27,10 @@ Position const EventLeaderPos2 = {1054.368f, 107.14620f, 628.4467f, 0.0f};
DoorData const Doors[] =
{
- {GO_ICE_WALL, DATA_GARFROST, DOOR_TYPE_PASSAGE },
- {GO_ICE_WALL, DATA_ICK, DOOR_TYPE_PASSAGE },
- {GO_HALLS_OF_REFLECTION_PORTCULLIS, DATA_TYRANNUS, DOOR_TYPE_PASSAGE },
+ { GO_ICE_WALL, DATA_GARFROST, DOOR_TYPE_PASSAGE },
+ { GO_ICE_WALL, DATA_ICK, DOOR_TYPE_PASSAGE },
+ { GO_HALLS_OF_REFLECTION_PORTCULLIS, DATA_TYRANNUS, DOOR_TYPE_PASSAGE },
+ { 0, 0, DOOR_TYPE_ROOM } // END
};
class instance_pit_of_saron : public InstanceMapScript