Skip to content

Commit 6d5cc14

Browse files
authored
The command is not guaranteed to be a spell cast.
1 parent f485dfa commit 6d5cc14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/Maps/Map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2590,7 +2590,7 @@ bool Map::FindScriptFinalTargets(WorldObject*& source, WorldObject*& target, Scr
25902590
if (!(target = GetTargetByType(source, target, this, script.target_type, script.target_param1, script.target_param2, pSpellInfo)))
25912591
{
25922592
if (!(script.raw.data[4] & SF_GENERAL_SKIP_MISSING_TARGETS))
2593-
sLog.Out(LOG_BASIC, LOG_LVL_ERROR, "FindScriptTargets: Failed to find target for script with id %u (spellId: %u), (target_param1: %u), (target_param2: %u), (target_type: %u).", script.id, script.castSpell.spellId, script.target_param1, script.target_param2, script.target_type);
2593+
sLog.Out(LOG_BASIC, LOG_LVL_ERROR, "FindScriptTargets: Failed to find target for script with id %u (target_param1: %u), (target_param2: %u), (target_type: %u).", script.id, script.target_param1, script.target_param2, script.target_type);
25942594
return false;
25952595
}
25962596
}

0 commit comments

Comments
 (0)