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-861f7616d084
master
Dennis Schridde 2007-06-19 18:20:56 +00:00
parent cc2294112b
commit ccc9d53d0a
1 changed files with 2 additions and 2 deletions

View File

@ -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;