Core/SmartAI: fix SMART_ACTION_SET_FLY. was backwards :P

This commit is contained in:
Kandera
2012-09-17 14:29:14 -04:00
parent 2e5e8331f3
commit cc86f567ab

View File

@@ -1268,7 +1268,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
if (!IsSmart())
break;
CAST_AI(SmartAI, me->AI())->SetFly(e.action.setFly.fly ? true : false);
CAST_AI(SmartAI, me->AI())->SetFly(e.action.setFly.fly ? false : true);
break;
}
case SMART_ACTION_SET_RUN: