Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Robosturm committed Nov 11, 2024
1 parent 1091714 commit 3e1cc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2137,7 +2137,7 @@ qint32 Unit::getMovementCosts(qint32 x, qint32 y, qint32 curX, qint32 curY, bool
{
return 1;
}
else if (weatherCosts + costs >= 0 && costs + baseCosts < 0)
else if (weatherCosts + costs >= 0 && baseCosts < 0)
{
return -1;
}
Expand Down

0 comments on commit 3e1cc29

Please sign in to comment.