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:
@@ -32,7 +32,7 @@ class instance_archavon : public InstanceMapScript
|
||||
public:
|
||||
instance_archavon() : InstanceMapScript("instance_archavon", 624) { }
|
||||
|
||||
InstanceScript* GetInstanceData_InstanceMapScript(Map* map)
|
||||
InstanceScript* GetInstanceScript(InstanceMap* pMap) const
|
||||
{
|
||||
return new instance_archavon_InstanceMapScript(map);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user