tunnelbridge_cmd.c
changeset 1095 b59632d9df1b
parent 1091 0f113f2ed794
child 1109 ecb98f43ba2c
equal deleted inserted replaced
1094:9a01482df45a 1095:b59632d9df1b
   900 		return CMD_ERROR;
   900 		return CMD_ERROR;
   901 }
   901 }
   902 
   902 
   903 
   903 
   904 // fast routine for getting the height of a middle bridge tile. 'tile' MUST be a middle bridge tile.
   904 // fast routine for getting the height of a middle bridge tile. 'tile' MUST be a middle bridge tile.
   905 uint GetBridgeHeight(const TileInfo *ti)
   905 static uint GetBridgeHeight(const TileInfo *ti)
   906 {
   906 {
   907 	uint delta;
   907 	uint delta;
   908 	TileInfo ti_end;
   908 	TileInfo ti_end;
   909 	uint tile = ti->tile;
   909 	uint tile = ti->tile;
   910 	uint z_correction = 0;
   910 	uint z_correction = 0;