diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2026-05-25 18:19:39 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2026-05-25 18:19:39 -0300 |
| commit | d1c4dce3be82aa7e50ddb5b43f15ecc00a16f985 (patch) | |
| tree | c0fe2487aec4ea0cf90c74121992464344abd5b1 /src/cract.cc | |
| parent | 54c2169ec9a99e34e1270e43e9fd1fccd3d2a824 (diff) | |
| download | game-d1c4dce3be82aa7e50ddb5b43f15ecc00a16f985.tar.gz game-d1c4dce3be82aa7e50ddb5b43f15ecc00a16f985.zip | |
minor fix to monster targeting logic
Diffstat (limited to 'src/cract.cc')
| -rw-r--r-- | src/cract.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cract.cc b/src/cract.cc index e0af29f..52355c1 100644 --- a/src/cract.cc +++ b/src/cract.cc @@ -1016,7 +1016,7 @@ void TCreature::ToDoGo(int DestX, int DestY, int DestZ, bool MustReach, int MaxS // NOTE(fusion): The number of steps between two points is the same as the // their manhattan distance, if we exclude diagonal movement. We can skip - // the path finder if we know we're step away from the destination. + // the path finder if we know we're one step away from the destination. if(DistanceX + DistanceY == 1){ TToDoEntry TD = {}; TD.Code = TDGo; |
