Temp hack for pathfinding problems with TS assets.

This commit is contained in:
Justin Marshall
2020-07-03 10:51:09 -07:00
parent 52b5c8870f
commit f4bc742cd3
+4 -5
View File
@@ -2478,14 +2478,13 @@ LandType TemplateTypeClass::Land_Type(int icon) const
LAND_BEACH,
LAND_ROUGH,
LAND_ICE,
LAND_RAILROAD,
LAND_TUNNEL,
LAND_WEEDS,
LAND_CLEAR,
LAND_CLEAR,
LAND_CLEAR,
LAND_COUNT,
};
//return(_land[map[icon % (icontrol->Map_Width() * icontrol->Map_Height())]]);
return _land[image->TileType % LAND_COUNT];
return(_land[image->TileType % LAND_COUNT]);
}
}
return(LAND_CLEAR);