summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-10-07 20:57:41 +0000
committersmatz <smatz@openttd.org>2008-10-07 20:57:41 +0000
commitb2852f88fbce41c3d854968a2fd6079bc35a9930 (patch)
tree56d59158c9a257d7f0b20e91a9e8c87762578a05 /src/ai
parent8926c37ad3121293bd0bad489aedff1dfc6f17fa (diff)
downloadopenttd-b2852f88fbce41c3d854968a2fd6079bc35a9930.tar.xz
(svn r14448) -Codechange [FS#2328]: rename a few variables (based on a patch by planetmaker)
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/default/default.cpp2
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;