summaryrefslogtreecommitdiff
path: root/src/resources/map/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-06 20:19:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-06 20:19:20 +0300
commit030beaba34912a9249b9219b43c7bdc1359859e6 (patch)
tree40e4cef8856bdc9e3401eed98dc69a27c758dca2 /src/resources/map/map.cpp
parentaaacae5e2907e21ff7c0505fd4e48442ac809136 (diff)
downloadplus-030beaba34912a9249b9219b43c7bdc1359859e6.tar.gz
plus-030beaba34912a9249b9219b43c7bdc1359859e6.tar.bz2
plus-030beaba34912a9249b9219b43c7bdc1359859e6.tar.xz
plus-030beaba34912a9249b9219b43c7bdc1359859e6.zip
Fix code style.
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r--src/resources/map/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index c4a4e7fa8..6070a137b 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -963,7 +963,7 @@ Path Map::findPath(const int startX, const int startY,
? basicCost : basicCost2);
/* Demote an arbitrary direction to speed pathfinding by
- adding a defect
+ adding a defect
Important: as long as the total defect along any path is
less than the basicCost, the pathfinder will still find one
of the shortest paths! */