1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-20 14:15:23 +00:00

Fixed roof offset bug

This commit is contained in:
Tim Sarbin 2018-12-09 18:49:31 -05:00
parent 602c1014cc
commit 684b6b929c

View File

@ -143,7 +143,7 @@ namespace OpenDiablo2.Core.Map_Engine
}
foreach (var cellInfo in gameState.GetMapCellInfo((int)ax, (int)ay, eRenderCellType.Roof))
renderWindow.DrawMapCell(cellInfo, skewX + px + (int)ox + xOffset, skewY + py + (int)oy);
renderWindow.DrawMapCell(cellInfo, skewX + px + (int)ox + xOffset, skewY + py + (int)oy - 80);
}
}