From b2852f88fbce41c3d854968a2fd6079bc35a9930 Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 7 Oct 2008 20:57:41 +0000 Subject: (svn r14448) -Codechange [FS#2328]: rename a few variables (based on a patch by planetmaker) --- src/ai/default/default.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai') diff --git a/src/ai/default/default.cpp b/src/ai/default/default.cpp index defa32ab2..4b20500de 100644 --- a/src/ai/default/default.cpp +++ b/src/ai/default/default.cpp @@ -293,7 +293,7 @@ static EngineID AiChooseTrainToReplaceWith(const Company *c, const Vehicle *v) return AiChooseTrainToBuild(v->u.rail.railtype, avail_money, 0, v->tile); } -static EngineID AiChooseShipToReplaceWith(const Company *p, const Vehicle *v) +static EngineID AiChooseShipToReplaceWith(const Company *c, const Vehicle *v) { /* Ships are not implemented in this (broken) AI */ return INVALID_ENGINE; -- cgit v1.2.3-70-g09d2