mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-15 08:16:08 +00:00
fix(Core/Scripts): Fix scripts where LoadObjectData can leave arrays boundaries. (#17070)
* fix(Core/Scripts): Fix scripts where LoadObjectData can leave arrays boundaries. * Fix build
This commit is contained in:
committed by
GitHub
parent
6b583089f3
commit
f4658a1df2
@@ -31,9 +31,10 @@ const Position PortalLocation[4] =
|
||||
{ -1930.9106f, 7183.5970f, 23.007639f, 3.59537f }
|
||||
};
|
||||
|
||||
ObjectData const creatureData[1] =
|
||||
ObjectData const creatureData[] =
|
||||
{
|
||||
{ NPC_MEDIVH, DATA_MEDIVH }
|
||||
{ NPC_MEDIVH, DATA_MEDIVH },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
class instance_the_black_morass : public InstanceMapScript
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
|
||||
ObjectData const creatureData[] =
|
||||
{
|
||||
{ NPC_ONYXIA, DATA_ONYXIA }
|
||||
{ NPC_ONYXIA, DATA_ONYXIA },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
class instance_onyxias_lair : public InstanceMapScript
|
||||
|
||||
@@ -36,6 +36,7 @@ ObjectData const creatureData[] =
|
||||
{ NPC_YEGGETH, DATA_YEGGETH },
|
||||
{ NPC_PAKKON, DATA_PAKKON },
|
||||
{ NPC_ZERRAN, DATA_ZERRAN },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
enum RajaxxWaveEvent
|
||||
|
||||
@@ -35,7 +35,8 @@ ObjectData const creatureData[] =
|
||||
{ NPC_MASTERS_EYE, DATA_MASTERS_EYE },
|
||||
{ NPC_VEKLOR, DATA_VEKLOR },
|
||||
{ NPC_VEKNILASH, DATA_VEKNILASH },
|
||||
{ NPC_VISCIDUS, DATA_VISCIDUS }
|
||||
{ NPC_VISCIDUS, DATA_VISCIDUS },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
DoorData const doorData[] =
|
||||
|
||||
Reference in New Issue
Block a user