Skirmish map added and works.

This commit is contained in:
Justin Marshall
2020-07-25 12:06:41 -07:00
parent ef2f046714
commit 21a7ea57ea
3 changed files with 23 additions and 15 deletions
+4 -4
View File
@@ -1111,13 +1111,13 @@ void CellClass::Draw_It(int x, int y, bool objects)
int cellx = Cell_X(cell);
int celly = Cell_Y(cell);
if (cellx < Map.MapCellX || celly < Map.MapCellY) {
//GL_SetColor(0.35, 0.35, 0.35);
return;
GL_SetColor(0.35, 0.35, 0.35);
//return;
}
if (cellx >= Map.MapCellX + Map.MapCellWidth || celly >= Map.MapCellY + Map.MapCellHeight) {
//GL_SetColor(0.35, 0.35, 0.35);
return;
GL_SetColor(0.35, 0.35, 0.35);
//return;
}
// jmarshall - debug mechanism