Fixed the lepton size being incorrect.

This commit is contained in:
Justin Marshall
2020-07-01 19:17:09 -07:00
parent 681ab2fa9c
commit d141e5ee53
4 changed files with 6 additions and 6 deletions
-1
View File
@@ -999,7 +999,6 @@ bool CellClass::Get_Template_Info(char *template_name, int &icon, void *&image_d
}
void CellClass::ConvertCoordsToIsometric(int& x, int& y) {
y = y * 2;
int tileWidth = CELL_PIXEL_W;
int tileHeight = CELL_PIXEL_H;
int sx = (x / CELL_PIXEL_W) * (tileWidth / 2) - (y / CELL_PIXEL_W) * (tileWidth / 2);