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:
Anton Popovichenko
2023-08-25 14:15:07 +02:00
committed by GitHub
parent 6b583089f3
commit f4658a1df2
13 changed files with 24 additions and 11 deletions

View File

@@ -30,7 +30,8 @@ ObjectData const creatureData[] =
{
{ NPC_DALLIAH, DATA_DALLIAH },
{ NPC_SOCCOTHRATES, DATA_SOCCOTHRATES },
{ NPC_MELLICHAR, DATA_WARDEN_MELLICHAR }
{ NPC_MELLICHAR, DATA_WARDEN_MELLICHAR },
{ 0, 0 }
};
class instance_arcatraz : public InstanceMapScript