src/ai/default/default.cpp
changeset 10225 eb61dd8101c1
parent 10208 72c00af5c95d
child 10236 50afe9dd466e
equal deleted inserted replaced
10224:422d31f4559f 10225:eb61dd8101c1
   291 
   291 
   292 	// XXX: check if a wagon
   292 	// XXX: check if a wagon
   293 	return AiChooseTrainToBuild(v->u.rail.railtype, avail_money, 0, v->tile);
   293 	return AiChooseTrainToBuild(v->u.rail.railtype, avail_money, 0, v->tile);
   294 }
   294 }
   295 
   295 
   296 static EngineID AiChooseShipToReplaceWith(const Company *p, const Vehicle *v)
   296 static EngineID AiChooseShipToReplaceWith(const Company *c, const Vehicle *v)
   297 {
   297 {
   298 	/* Ships are not implemented in this (broken) AI */
   298 	/* Ships are not implemented in this (broken) AI */
   299 	return INVALID_ENGINE;
   299 	return INVALID_ENGINE;
   300 }
   300 }
   301 
   301