Core/Scripts: fix array out of bounds in Pit of Saron doorData

(cherry picked from commit 08d0105396)
This commit is contained in:
ariel-
2017-06-18 10:34:04 +02:00
committed by Carbenium
parent f8fa4d734c
commit 148dc34cb2

View File

@@ -30,9 +30,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