Core/SmartScripts: Fix a typo in action 'set instance data'
--HG-- branch : trunk
This commit is contained in:
@@ -550,7 +550,8 @@ void SmartScript::ProcessAction(SmartScriptHolder &e, Unit* unit, uint32 var0, u
|
|||||||
WorldObject* obj = GetBaseObject();
|
WorldObject* obj = GetBaseObject();
|
||||||
if (!obj)
|
if (!obj)
|
||||||
obj = unit;
|
obj = unit;
|
||||||
if (obj) return;
|
if (!obj)
|
||||||
|
return;
|
||||||
InstanceScript* pInst = (InstanceScript*)obj->GetInstanceScript();
|
InstanceScript* pInst = (InstanceScript*)obj->GetInstanceScript();
|
||||||
if (!pInst)
|
if (!pInst)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user