Skip to content

Commit

Permalink
Northrend: Add empty overrides for init and
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Feb 19, 2024
1 parent 84d56e2 commit a4648af
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/game/AI/ScriptDevAI/scripts/northrend/world_northrend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@
#include "world_northrend.h"
#include "AI/ScriptDevAI/scripts/world/world_map_scripts.h"

world_map_northrend::world_map_northrend(Map* map) : ScriptedMap(map)
{
Initialize();
}

void world_map_northrend::Initialize()
{
}

void world_map_northrend::OnCreatureGroupDespawn(CreatureGroup* creatureGroup, Creature* creature)
{
}

void world_map_northrend::OnCreatureCreate(Creature* creature)
{
switch (creature->GetEntry())
Expand Down
6 changes: 5 additions & 1 deletion src/game/AI/ScriptDevAI/scripts/northrend/world_northrend.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
struct world_map_northrend : public ScriptedMap
{
public:
world_map_northrend(Map* pMap) : ScriptedMap(pMap) {}
world_map_northrend(Map* map);

void Initialize() override;

void OnCreatureGroupDespawn(CreatureGroup* creatureGroup, Creature* creature) override;

void OnCreatureCreate(Creature* creature) override;

Expand Down

0 comments on commit a4648af

Please sign in to comment.