From 98c74738f21d7ae256f1273b6c1614ee64e2a3ad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2018 06:55:28 +0300 Subject: Fix code style. --- src/resources/map/map.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/resources') diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp index adda1bcb7..bcec1a4a3 100644 --- a/src/resources/map/map.cpp +++ b/src/resources/map/map.cpp @@ -1598,8 +1598,7 @@ void Map::reduce() restrict2 ++ ri; continue; } - const size_t pos = CAST_SIZE( - x + y * layer2->mWidth); + const size_t pos = x + y * CAST_SIZE(layer2->mWidth); img = layer2->mTiles[pos].image; if (img != nullptr) { -- cgit v1.2.3-70-g09d2