Minor code cleanup (by Asdow and sun_alf)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8812 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2020-05-30 13:24:33 +00:00
parent c5022fa1e5
commit 51e2c6b293
3 changed files with 10 additions and 30 deletions
+2 -7
View File
@@ -2178,14 +2178,9 @@ void RenderTiles(UINT32 uiFlags, INT32 iStartPointX_M, INT32 iStartPointY_M, INT
}
}
// ATE: Check here for a lot of conditions!
else if (((uiLevelNodeFlags & LEVELNODE_PHYSICSOBJECT)) && !(uiFlags&TILES_DIRTY))
else if ( (uiLevelNodeFlags & LEVELNODE_PHYSICSOBJECT) && !(uiFlags&TILES_DIRTY) )
{
bItemOutline = TRUE;
if (uiLevelNodeFlags & LEVELNODE_PHYSICSOBJECT)
{
bItemOutline = FALSE;
}
bItemOutline = FALSE;
bBlitClipVal = BltIsClippedOrOffScreen(hVObject, sXPos, sYPos, usImageIndex, &gClippingRect);