(svn r15651) -Codechange: Codestyle and comments.

This commit is contained in:
peter1138 2009-03-09 13:38:00 +00:00
parent 6616393cd2
commit 6667241814
1 changed files with 6 additions and 6 deletions

View File

@ -43,14 +43,14 @@ static uint32 CanalGetVariable(const ResolverObject *object, byte variable, byte
TileIndex tile = object->u.canal.tile;
switch (variable) {
case 0x80:
return GetTileZ(tile) / TILE_HEIGHT;
/* Height of tile */
case 0x80: return GetTileZ(tile) / TILE_HEIGHT;
case 0x81:
return GetTerrainType(tile);
/* Terrain type */
case 0x81: return GetTerrainType(tile);
case 0x83:
return GetWaterTileRandomBits(tile);
/* Random data for river or canal tiles, otherwise zero */
case 0x83: return GetWaterTileRandomBits(tile);
}
DEBUG(grf, 1, "Unhandled canal property 0x%02X", variable);