mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10935] Move script calls to ScriptMgr
- Script library presence is now optional. - Some script hooks have new names. Scripting libraries need to be adjusted accordingly. Signed-off-by: zergtmn <zerg@myisp.com>
This commit is contained in:
parent
918e646ca2
commit
ec6089bbd8
32 changed files with 454 additions and 435 deletions
|
|
@ -32,7 +32,7 @@
|
|||
#include "UpdateData.h"
|
||||
#include "LootMgr.h"
|
||||
#include "Chat.h"
|
||||
#include "ScriptCalls.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include <zlib/zlib.h>
|
||||
#include "ObjectAccessor.h"
|
||||
#include "Object.h"
|
||||
|
|
@ -709,7 +709,7 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
|
|||
return;
|
||||
}
|
||||
|
||||
if(Script->scriptAreaTrigger(pl, atEntry))
|
||||
if (sScriptMgr.OnAreaTrigger(pl, atEntry))
|
||||
return;
|
||||
|
||||
uint32 quest_id = sObjectMgr.GetQuestForAreaTrigger( Trigger_ID );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue