mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10309] Make AreaTriggerEntry passed in script call const.
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
1500be4079
commit
a6d0b61d45
4 changed files with 4 additions and 4 deletions
|
|
@ -279,7 +279,7 @@ bool GOChooseReward( Player *player, GameObject *_GO, Quest *_Quest, uint32 opt
|
|||
}
|
||||
|
||||
MANGOS_DLL_EXPORT
|
||||
bool AreaTrigger ( Player *player, AreaTriggerEntry* atEntry )
|
||||
bool AreaTrigger(Player *player, AreaTriggerEntry const* atEntry)
|
||||
{
|
||||
Script *tmpscript = m_scripts[GetAreaTriggerScriptId(atEntry->id)];
|
||||
if (!tmpscript || !tmpscript->pAreaTrigger)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue