summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-07 22:13:07 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-07 22:13:07 +0300
commitea2f53614e087dd4eae470611237d89898c0a1eb (patch)
tree166797388cafa8b45ab3fe3f69fa93e952ee31d2 /src/map.cpp
parent21277ad5c877d90680b757b058a3759e8f8b5559 (diff)
downloadplus-ea2f53614e087dd4eae470611237d89898c0a1eb.tar.gz
plus-ea2f53614e087dd4eae470611237d89898c0a1eb.tar.bz2
plus-ea2f53614e087dd4eae470611237d89898c0a1eb.tar.xz
plus-ea2f53614e087dd4eae470611237d89898c0a1eb.zip
Fix code style.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 5723d5ec8..8225aded1 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -1443,7 +1443,8 @@ Path Map::findPath(int startX, int startY, int destX, int destY,
// corner.
if (dx != 0 && dy != 0)
{
- MetaTile *t1 = &mMetaTiles[curr.x + (curr.y + dy) * mWidth];
+ MetaTile *t1 = &mMetaTiles[curr.x +
+ (curr.y + dy) * mWidth];
MetaTile *t2 = &mMetaTiles[curr.x + dx + curWidth];
//+++ here need check block must depend on player abilities.