mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Fixed a bug were bigoverlay wouldn't show in editor due to fog of war. Debug bigoverlay tiles are now disabled.
This commit is contained in:
@@ -57,7 +57,7 @@ void BigOverlay::draw_it(void) {
|
|||||||
CELL cell = Coord_Cell(position);
|
CELL cell = Coord_Cell(position);
|
||||||
CellClass* cellptr = &(Map)[cell];
|
CellClass* cellptr = &(Map)[cell];
|
||||||
|
|
||||||
if (!(cellptr->Is_Mapped(PlayerPtr) && cellptr->Is_Visible(PlayerPtr)))
|
if ((!(cellptr->Is_Mapped(PlayerPtr) && cellptr->Is_Visible(PlayerPtr))) && !Debug_Unshroud)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int screenx, screeny;
|
int screenx, screeny;
|
||||||
|
|||||||
@@ -1121,9 +1121,9 @@ void CellClass::Draw_It(int x, int y, bool objects)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// jmarshall - debug mechanism
|
// jmarshall - debug mechanism
|
||||||
if (bigOverlay != NULL) {
|
//if (bigOverlay != NULL) {
|
||||||
GL_SetColor(0.35, 0.35, 0.35);
|
// GL_SetColor(0.35, 0.35, 0.35);
|
||||||
}
|
//}
|
||||||
// jmarshall end
|
// jmarshall end
|
||||||
|
|
||||||
CellCount++;
|
CellCount++;
|
||||||
|
|||||||
Reference in New Issue
Block a user