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:
Justin Marshall
2020-07-24 20:37:46 -07:00
parent 06ab957c18
commit ea4d95860a
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;
+3 -3
View File
@@ -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++;