From a7d7346b9eb3fa62a8912e31d5c00f8e05390425 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Apr 2013 11:27:04 +0300 Subject: some more style fixes from cpplint. --- src/map.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index 8e2bca209..314b21a2c 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -936,7 +936,7 @@ Path Map::findPath(const int startX, const int startY, // Skip if the tile is on the closed list or is not walkable // unless its the destination tile - //+++ here need check block must depend on player abilities. + // +++ here need check block must depend on player abilities. if (newTile->whichList == mOnClosedList || ((newTile->blockmask & walkmask) && !(x == destX && y == destY)) @@ -954,7 +954,8 @@ Path Map::findPath(const int startX, const int startY, const MetaTile *const t2 = &mMetaTiles[curr.x + dx + curWidth]; - //+++ here need check block must depend on player abilities. + // +++ here need check block must depend + // on player abilities. if (((t1->blockmask | t2->blockmask) & BLOCKMASK_WALL)) continue; } -- cgit v1.2.3-60-g2f50