mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-09 05:41:09 +00:00
Move area trigger storage from DBC to database (#742)
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
This commit is contained in:
@@ -586,7 +586,7 @@ class AreaTriggerScript : public ScriptObject
|
||||
bool IsDatabaseBound() const { return true; }
|
||||
|
||||
// Called when the area trigger is activated by a player.
|
||||
virtual bool OnTrigger(Player* /*player*/, AreaTriggerEntry const* /*trigger*/) { return false; }
|
||||
virtual bool OnTrigger(Player* /*player*/, AreaTrigger const* /*trigger*/) { return false; }
|
||||
};
|
||||
|
||||
class BattlegroundScript : public ScriptObject
|
||||
@@ -1136,7 +1136,7 @@ class ScriptMgr
|
||||
|
||||
public: /* AreaTriggerScript */
|
||||
|
||||
bool OnAreaTrigger(Player* player, AreaTriggerEntry const* trigger);
|
||||
bool OnAreaTrigger(Player* player, AreaTrigger const* trigger);
|
||||
|
||||
public: /* BattlegroundScript */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user