summaryrefslogtreecommitdiff
path: root/scripts/entities/actors/actions/DirectionalAction.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/entities/actors/actions/DirectionalAction.cs')
-rw-r--r--scripts/entities/actors/actions/DirectionalAction.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/entities/actors/actions/DirectionalAction.cs b/scripts/entities/actors/actions/DirectionalAction.cs
index ca2ca95..9c7a915 100644
--- a/scripts/entities/actors/actions/DirectionalAction.cs
+++ b/scripts/entities/actors/actions/DirectionalAction.cs
@@ -24,7 +24,7 @@ public abstract partial class DirectionalAction : Action
/// Função que obtém o alvo da ação, se houver.
/// </summary>
/// <returns>O ator alvo da ação, nulo se não houver.</returns>
- protected Actor GetTargetActor() {
- return Map_Data.GetBlockingActorAtPosition(Destination);
+ protected Entity GetTarget() {
+ return Map_Data.GetBlockingEntityAtPosition(Destination);
}
}