mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Fixed the lepton size being incorrect.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user