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
@@ -48,7 +48,7 @@ class instance_karazhan : public InstanceMapScript
public:
instance_karazhan() : InstanceMapScript("instance_karazhan", 532) { }
InstanceScript* GetInstanceData_InstanceMapScript(Map* pMap)
InstanceScript* GetInstanceScript(InstanceMap* pMap) const
{
return new instance_karazhan_InstanceMapScript(pMap);
}