fix: vanillaScripts instance buffer overflow

This commit is contained in:
Jelle Meeus
2025-02-15 13:13:49 +01:00
parent 451bebbfdb
commit e2d127febd
2 changed files with 4 additions and 2 deletions

View File

@@ -69,7 +69,8 @@ enum Texts
MinionData const minionData[] = MinionData const minionData[] =
{ {
{ NPC_CHROMATIC_ELITE_GUARD, DATA_GENERAL_DRAKKISATH } { NPC_CHROMATIC_ELITE_GUARD, DATA_GENERAL_DRAKKISATH },
{ 0, 0 } // END
}; };
DoorData const doorData[] = DoorData const doorData[] =

View File

@@ -23,7 +23,8 @@
ObjectData const creatureData[] = ObjectData const creatureData[] =
{ {
{ NPC_ONYXIA, DATA_ONYXIA }, { NPC_ONYXIA, DATA_ONYXIA },
{ NPC_ONYXIA_40, DATA_ONYXIA } { NPC_ONYXIA_40, DATA_ONYXIA },
{ 0, 0 } // END
}; };
class instance_onyxias_lair_40 : public InstanceMapScript class instance_onyxias_lair_40 : public InstanceMapScript