From 0384e3fd427fc139ac149285b7d6da765a22a761 Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Sat, 4 Jul 2020 14:49:40 -0700 Subject: [PATCH] Setup shroud isometric coordinates. --- code/redalert/display.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/redalert/display.cpp b/code/redalert/display.cpp index ece8206..d7ee626 100644 --- a/code/redalert/display.cpp +++ b/code/redalert/display.cpp @@ -2458,6 +2458,8 @@ void DisplayClass::Redraw_Shadow(void) int ypixel; if (Coord_To_Pixel(coord, xpixel, ypixel)) { + CellClass::ConvertCoordsToIsometric(xpixel, ypixel); + CellClass * cellptr = &(*this)[coord]; //if (cellptr->IsVisible) continue; if (cellptr->Is_Visible(PlayerPtr)) continue; // Use PlayerPtr since we won't be rendering in MP. ST - 8/6/2019 10:44AM