From ffbf9228c68f19aa4b4543d43b7967063642dbc1 Mon Sep 17 00:00:00 2001 From: Zero Fanker Date: Tue, 28 May 2024 00:44:28 -0400 Subject: [PATCH] some format adjustment . --- MissionEditor/IsoView.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/MissionEditor/IsoView.cpp b/MissionEditor/IsoView.cpp index e85fe35..8ec55c0 100644 --- a/MissionEditor/IsoView.cpp +++ b/MissionEditor/IsoView.cpp @@ -5395,8 +5395,9 @@ void CIsoView::DrawMap() dir = (7 - dir) % 8; pic = buildinginfo[id].pic[dir]; - if (pic.pic == NULL) pic = buildinginfo[id].pic[0]; - + if (pic.pic == NULL) { + pic = buildinginfo[id].pic[0]; + } } #ifndef NOSURFACES @@ -5407,8 +5408,6 @@ void CIsoView::DrawMap() DrawCell(ddsd.lpSurface, ddsd.dwWidth, ddsd.dwHeight, ddsd.lPitch, drawCoordsBld.x, drawCoordsBld.y, w, h, colorref_conv[objp.col]); } #endif - - if (pic.pic == NULL) { if (!missingimages[objp.type]) { SetError("Loading graphics");