src/aircraft_cmd.cpp
changeset 8534 5d05519d1c50
parent 8467 605661f3a91c
child 8556 ce8d86cc14d2
equal deleted inserted replaced
8533:921045950feb 8534:5d05519d1c50
  1192 			gp = GetNewVehiclePos(v);
  1192 			gp = GetNewVehiclePos(v);
  1193 		}
  1193 		}
  1194 
  1194 
  1195 		v->tile = gp.new_tile;
  1195 		v->tile = gp.new_tile;
  1196 		/* If vehicle is in the air, use tile coordinate 0. */
  1196 		/* If vehicle is in the air, use tile coordinate 0. */
  1197 		// if (amd->flag & (AMED_TAKEOFF | AMED_SLOWTURN | AMED_LAND)) v->tile = 0;
  1197 		if (amd->flag & (AMED_TAKEOFF | AMED_SLOWTURN | AMED_LAND)) v->tile = 0;
  1198 
  1198 
  1199 		/* Adjust Z for land or takeoff? */
  1199 		/* Adjust Z for land or takeoff? */
  1200 		uint z = v->z_pos;
  1200 		uint z = v->z_pos;
  1201 
  1201 
  1202 		if (amd->flag & AMED_TAKEOFF) {
  1202 		if (amd->flag & AMED_TAKEOFF) {