Fixed compile error in OnAfterHits script hook.
This commit is contained in:
@@ -148,6 +148,6 @@ void TurnHandler::HandleAttackForTarget(ExecutingAttack &attack, Creature *targe
|
||||
}
|
||||
|
||||
if (!user->IsFainted())
|
||||
HOOK(OnAfterHits, userSources, attack, target);
|
||||
HOOK(OnAfterHits, userSources, &attack, target);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user