mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Merged from revision: 7676
Features (by anv) - new Ja2_Options.ini setting - HIDE_EXPLORED_ROOM_ROOF_STRUCTURES (e.g. sandbags) at ground level view - Hold CTRL hotkey in mapeditor to place any object on roof git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7677 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1844,7 +1844,11 @@ void RenderTiles(UINT32 uiFlags, INT32 iStartPointX_M, INT32 iStartPointY_M, INT
|
||||
if ( TileElem != NULL )
|
||||
{
|
||||
// If we are a roof and have SHOW_ALL_ROOFS on, turn off hidden tile check!
|
||||
if ( ( TileElem->uiFlags & ROOF_TILE ) && ( gTacticalStatus.uiFlags&SHOW_ALL_ROOFS ) )
|
||||
//if ( ( TileElem->uiFlags & ROOF_TILE ) && ( gTacticalStatus.uiFlags&SHOW_ALL_ROOFS ) )
|
||||
// anv: commented out TileElem->uiFlags & ROOF_TILE because:
|
||||
// 1. only roof tiles get hidden in this manner anyway
|
||||
// 2. we might want to his and reveal again other stuff (most importantly - on roof structures)
|
||||
if ( ( gTacticalStatus.uiFlags&SHOW_ALL_ROOFS ) )
|
||||
{
|
||||
// Turn off
|
||||
fHiddenTile = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user