summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-01-05 12:40:50 +0000
committertron <tron@openttd.org>2006-01-05 12:40:50 +0000
commite272b03feea5b4c870dd4af5be9071c903c6173d (patch)
treed69972d96a0b32848f54422f41b00cf39d06c5f7 /ship_cmd.c
parent980e8f525b924491915571c2ed03469bd6751047 (diff)
downloadopenttd-e272b03feea5b4c870dd4af5be9071c903c6173d.tar.xz
(svn r3365) Staticise 36 functions
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 1b117c136..a78a49880 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -377,7 +377,7 @@ static bool ShipAccelerate(Vehicle *v)
return (t < v->progress);
}
-int32 EstimateShipCost(EngineID engine_type)
+static int32 EstimateShipCost(EngineID engine_type)
{
return ShipVehInfo(engine_type)->base_cost * (_price.ship_base>>3)>>5;
}