mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Temp hack for pathfinding problems with TS assets.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user