Core/Logs: fixing typos
This commit is contained in:
1 parent
4e668f9d4b
commit
708b09e9f7
1 file changed
+1
-14
@@ -2383,20 +2383,7 @@ SmartScriptHolder SmartScript::CreateEvent(SMART_EVENT e, uint32 event_flags, ui
|
||||
script.target.type = t;
|
||||
script.target.raw.param1 = target_param1;
|
||||
script.target.raw.param2 = target_param2;
|
||||
script.target.raw.param3 = target_param3ActivateTaxiPathTo(e.action.taxi.id);
|
||||
|
||||
delete targets;
|
||||
break;
|
||||
}
|
||||
case SMART_ACTION_RANDOM_MOVE:
|
||||
{
|
||||
ObjectList* targets = GetTargets(e, unit);
|
||||
if (!targets)
|
||||
break;
|
||||
|
||||
bool foundTarget = false;
|
||||
|
||||
for (ObjectList::const_iterator itr = targets-;
|
||||
script.target.raw.param3 = target_param3;
|
||||
|
||||
script.source_type = SMART_SCRIPT_TYPE_CREATURE;
|
||||
InitTimer(script);
|
||||
|
||||
Reference in new issue
Block a user