Skip to content

Commit

Permalink
Update Source/monster.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo authored Sep 23, 2024
1 parent 0172d60 commit 4e488a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3735,7 +3735,7 @@ void M_ClearSquares(const Monster &monster)

void M_GetKnockback(Monster &monster, WorldTilePosition attackerStartPos)
{
auto dir = GetDirection(attackerStartPos, monster.position.tile);
Direction dir = GetDirection(attackerStartPos, monster.position.tile);
if (!IsRelativeMoveOK(monster, monster.position.old, dir)) {
return;
}
Expand Down

0 comments on commit 4e488a6

Please sign in to comment.