Move area trigger storage from DBC to database (#742)
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
This commit is contained in:
parent
b669d24a1f
commit
05cd8c8c61
43 changed files with 1431 additions and 124 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue