ai/trolly/shared.c
changeset 5380 8ea58542b6e0
parent 4077 d4d440dd8925
equal deleted inserted replaced
5379:929378a0014f 5380:8ea58542b6e0
   107 		}
   107 		}
   108 	}
   108 	}
   109 
   109 
   110 	// Out of special_vehicle spots :s
   110 	// Out of special_vehicle spots :s
   111 	if (new_id == -1) {
   111 	if (new_id == -1) {
   112 		DEBUG(ai, 1)("special_vehicles list is too small :(");
   112 		DEBUG(ai, 1, "special_vehicles list is too small");
   113 		return false;
   113 		return false;
   114 	}
   114 	}
   115 	p->ainew.special_vehicles[new_id].veh_id = v->index;
   115 	p->ainew.special_vehicles[new_id].veh_id = v->index;
   116 	p->ainew.special_vehicles[new_id].flag = flag;
   116 	p->ainew.special_vehicles[new_id].flag = flag;
   117 	return true;
   117 	return true;