Merge pull request #442 from sogladev/fix-buffer-overflow

fix: vanillaScripts instance buffer overflow
This commit is contained in:
ZhengPeiRu21
2025-06-01 14:42:23 -06:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

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

View File

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