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);
|
||||
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;
|
||||
|
||||
int screenx, screeny;
|
||||
|
||||
@@ -1121,9 +1121,9 @@ void CellClass::Draw_It(int x, int y, bool objects)
|
||||
}
|
||||
|
||||
// jmarshall - debug mechanism
|
||||
if (bigOverlay != NULL) {
|
||||
GL_SetColor(0.35, 0.35, 0.35);
|
||||
}
|
||||
//if (bigOverlay != NULL) {
|
||||
// GL_SetColor(0.35, 0.35, 0.35);
|
||||
//}
|
||||
// jmarshall end
|
||||
|
||||
CellCount++;
|
||||
|
||||
Reference in New Issue
Block a user