diff options
Diffstat (limited to 'src/ai/default/default.cpp')
-rw-r--r-- | src/ai/default/default.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |