diff --git a/Source/monster.cpp b/Source/monster.cpp index 08d7b4b5f67..1421c1da48f 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -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; }