Fixed compile error in OnAfterHits script hook.

This commit is contained in:
2019-11-09 12:57:12 +01:00
parent 658672a246
commit aca3359c98
2 changed files with 2 additions and 2 deletions

View File

@@ -148,6 +148,6 @@ void TurnHandler::HandleAttackForTarget(ExecutingAttack &attack, Creature *targe
}
if (!user->IsFainted())
HOOK(OnAfterHits, userSources, attack, target);
HOOK(OnAfterHits, userSources, &attack, target);
}
}