diff options
| author | Golrag <golrag.jeremy@gmail.com> | 2015-04-18 11:11:06 +0200 |
|---|---|---|
| committer | Golrag <golrag.jeremy@gmail.com> | 2015-04-18 11:22:30 +0200 |
| commit | d999caee67d106add61a07df648ec5109784d37a (patch) | |
| tree | 8d7f0a9c5f917cfe5288cdcebd5502bb77c25d38 /src/server/scripts/Maelstrom | |
| parent | 99ef803f1d0976c03c0cd1c75126511b54d62513 (diff) | |
Core/AreaTrigger: Added 'bool entered' to OnTrigger
Diffstat (limited to 'src/server/scripts/Maelstrom')
| -rw-r--r-- | src/server/scripts/Maelstrom/Stonecore/stonecore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp b/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp index 54ffc4fcb47..94afd73dd44 100644 --- a/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp +++ b/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp @@ -400,7 +400,7 @@ class at_sc_corborus_intro : public AreaTriggerScript public: at_sc_corborus_intro() : AreaTriggerScript("at_sc_corborus_intro") { } - bool OnTrigger(Player* player, AreaTriggerEntry const* /*areaTrigger*/) override + bool OnTrigger(Player* player, AreaTriggerEntry const* /*areaTrigger*/, bool /*entered*/) override { if (InstanceScript* instance = player->GetInstanceScript()) if (Creature* corborus = instance->GetCreature(DATA_CORBORUS)) @@ -414,7 +414,7 @@ class at_sc_slabhide_intro : public AreaTriggerScript public: at_sc_slabhide_intro() : AreaTriggerScript("at_sc_slabhide_intro") { } - bool OnTrigger(Player* player, AreaTriggerEntry const* /*areaTrigger*/) override + bool OnTrigger(Player* player, AreaTriggerEntry const* /*areaTrigger*/, bool /*entered*/) override { if (InstanceScript* instance = player->GetInstanceScript()) if (Creature* slabhide = instance->GetCreature(DATA_SLABHIDE)) |
