Globally find & replace InstanceScript* GetInstanceData_InstanceMapScript(Map* pMap) -> InstanceScript* GetInstanceScript(InstanceMap* pMap) const, this makes sure instance scripts get initialized properly and prevents crashes in scripts.

NOTE: this either breaks or fixes crlf, have no time to check now.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-08-11 21:52:44 +02:00
parent f630c5ad71
commit d5270f9e0d
40 changed files with 40 additions and 40 deletions
@@ -59,7 +59,7 @@ class instance_shadowfang_keep : public InstanceMapScript
public:
instance_shadowfang_keep() : InstanceMapScript("instance_shadowfang_keep", 33) { }
InstanceScript* GetInstanceData_InstanceMapScript(Map* pMap)
InstanceScript* GetInstanceScript(InstanceMap* pMap) const
{
return new instance_shadowfang_keep_InstanceMapScript(pMap);
}