From a9028cb5250dfbeb4e967f5c4880bdd4d6eac5e5 Mon Sep 17 00:00:00 2001 From: Justin Marshall Date: Sun, 12 Jul 2020 13:21:20 -0700 Subject: [PATCH] Smudges are now positioned properly. --- code/redalert/cell.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/redalert/cell.cpp b/code/redalert/cell.cpp index 86c7df8..5103c1f 100644 --- a/code/redalert/cell.cpp +++ b/code/redalert/cell.cpp @@ -1191,7 +1191,10 @@ void CellClass::Draw_It(int x, int y, bool objects) ** Redraw any smudge. */ if (Smudge != SMUDGE_NONE) { - SmudgeTypeClass::As_Reference(Smudge).Draw_It(x, y, SmudgeData); + int xx = x; + int yy = y; + ConvertCoordsToIsometric(xx, yy); + SmudgeTypeClass::As_Reference(Smudge).Draw_It(xx, yy, SmudgeData); } /*