road_cmd.c
changeset 2548 97ada3bd2702
parent 2544 50cb52cdeb73
child 2549 f1d3b383d557
equal deleted inserted replaced
2547:84930de386a9 2548:97ada3bd2702
   743 } DrawRoadSeqStruct;
   743 } DrawRoadSeqStruct;
   744 
   744 
   745 #include "table/road_land.h"
   745 #include "table/road_land.h"
   746 
   746 
   747 
   747 
   748 uint GetRoadFoundation(uint tileh, uint bits) {
   748 uint GetRoadFoundation(uint tileh, uint bits)
       
   749 {
   749 	int i;
   750 	int i;
   750 	// normal level sloped building
   751 	// normal level sloped building
   751 	if ((~_valid_tileh_slopes_road[1][tileh] & bits) == 0)
   752 	if ((~_valid_tileh_slopes_road[1][tileh] & bits) == 0)
   752 		return tileh;
   753 		return tileh;
   753 
   754