Part 2 of water-fix (river bed), 3rd part (animation) to follow.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1895 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
cc2294112b
commit
ccc9d53d0a
|
@ -4132,12 +4132,12 @@ void drawTerrainTile(UDWORD i, UDWORD j, BOOL onWaterEdge)
|
|||
return;
|
||||
}
|
||||
|
||||
if (TERRAIN_TYPE(psTile) != TER_WATER)
|
||||
if ( TERRAIN_TYPE(psTile) != TER_WATER || onWaterEdge )
|
||||
{
|
||||
// what tile texture number is it?
|
||||
tileNumber = psTile->texture;
|
||||
}
|
||||
else if (!onWaterEdge)
|
||||
else
|
||||
{
|
||||
// If it's a water tile then force it to be the river bed texture.
|
||||
tileNumber = RiverBedTileID;
|
||||
|
|
Loading…
Reference in New Issue