smallmap_gui.c
changeset 1044 63e0601a43cc
parent 1035 812f837ee03f
child 1092 e3b4a131db7c
equal deleted inserted replaced
1043:44508ede2f92 1044:63e0601a43cc
   308 		} else {
   308 		} else {
   309 			t = MP_WATER;
   309 			t = MP_WATER;
   310 		}
   310 		}
   311 	}
   311 	}
   312 
   312 
   313 	return (_map_height_bits[_map_type_and_height[tile] & 0xF] & _smallmap_contours_andor[t][1]) | _smallmap_contours_andor[t][0];
   313 	return (_map_height_bits[TileHeight(tile)] & _smallmap_contours_andor[t][1]) | _smallmap_contours_andor[t][0];
   314 }
   314 }
   315 
   315 
   316 static void DrawSmallMapContours(byte *dst, uint xc, uint yc, int pitch, int reps, uint32 mask)
   316 static void DrawSmallMapContours(byte *dst, uint xc, uint yc, int pitch, int reps, uint32 mask)
   317 {
   317 {
   318 	do {
   318 	do {