From 8926a2ff8f3eb6eb1666a0b4ea7c2eafac727a7b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 May 2017 06:04:55 +0300 Subject: Fix style in some functions. --- src/resources/map/mapheights.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/resources') diff --git a/src/resources/map/mapheights.h b/src/resources/map/mapheights.h index 2c5cf845a..43721e817 100644 --- a/src/resources/map/mapheights.h +++ b/src/resources/map/mapheights.h @@ -39,8 +39,10 @@ class MapHeights final : public MemoryCounter void setHeight(const int x, const int y, const uint8_t height); uint8_t getHeight(const int x, const int y) const - { return x < mWidth && y < mHeight ? mTiles[x + y * mWidth] - : CAST_U8(0U); } + { + return x < mWidth && + y < mHeight ? mTiles[x + y * mWidth] : CAST_U8(0U); + } int calcMemoryLocal() const override final; -- cgit v1.2.3-70-g09d2