From 6fa671cdc65cd3ad507eca7dbee604418e449aa7 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Fri, 22 May 2015 17:35:17 +0300
Subject: Fix code style.

---
 src/resources/map/maplayer.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/resources/map/maplayer.cpp')

diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp
index 2389de12b..9b73046bd 100644
--- a/src/resources/map/maplayer.cpp
+++ b/src/resources/map/maplayer.cpp
@@ -570,12 +570,11 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY,
                 {
                     const int px = x32 + dx;
                     const int py = py0 - img->mBounds.h;
-                    int c = 0;
                     if (mSpecialFlag || img->mBounds.h <= mapTileSize)
                     {
                         int width = 0;
                         // here need not draw over player position
-                        c = getTileDrawWidth(img, endX - x, width);
+                        const int c = getTileDrawWidth(img, endX - x, width);
 
                         if (!c)
                         {
-- 
cgit v1.2.3-70-g09d2