From 41a19a5557a3873394ce862cb21cca2453b0f070 Mon Sep 17 00:00:00 2001 From: Trazom62 Date: Sat, 9 Jan 2010 14:18:06 +0100 Subject: Fix Script: add missing initialization. Fixes #216 --HG-- branch : trunk --- src/bindings/scripts/ScriptMgr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/bindings/scripts/ScriptMgr.h') diff --git a/src/bindings/scripts/ScriptMgr.h b/src/bindings/scripts/ScriptMgr.h index e09a031efce..2052964ac2b 100644 --- a/src/bindings/scripts/ScriptMgr.h +++ b/src/bindings/scripts/ScriptMgr.h @@ -32,7 +32,11 @@ struct ItemPrototype; struct Script { Script() : + pOnLogin(NULL), pOnLogout(NULL), pOnPVPKill(NULL), pOnSpellCast(NULL), pOnGetXP(NULL), + pOnGetMoney(NULL), pOnPlayerChat(NULL), pOnServerStartup(NULL), pOnServerShutdown(NULL), + pOnAreaChange(NULL), pOnItemClick(NULL), pOnItemOpen(NULL), pOnGoClick(NULL), pOnCreatureKill(NULL), pGossipHello(NULL), pQuestAccept(NULL), pGossipSelect(NULL), pGossipSelectWithCode(NULL), + pGOSelect(NULL), pGOSelectWithCode(NULL), pQuestSelect(NULL), pQuestComplete(NULL), pNPCDialogStatus(NULL), pGODialogStatus(NULL), pChooseReward(NULL), pItemHello(NULL), pGOHello(NULL), pAreaTrigger(NULL), pItemQuestAccept(NULL), pGOQuestAccept(NULL), pGOChooseReward(NULL),pItemUse(NULL), pItemExpire(NULL), -- cgit v1.2.3