summaryrefslogtreecommitdiff
path: root/roadveh_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 /roadveh_cmd.c
parent980e8f525b924491915571c2ed03469bd6751047 (diff)
downloadopenttd-e272b03feea5b4c870dd4af5be9071c903c6173d.tar.xz
(svn r3365) Staticise 36 functions
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r--roadveh_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index c3ca908c6..840284bbb 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -93,7 +93,7 @@ void DrawRoadVehEngine(int x, int y, EngineID engine, uint32 image_ormod)
DrawSprite((6 + _roadveh_images[spritenum]) | image_ormod, x, y);
}
-int32 EstimateRoadVehCost(EngineID engine_type)
+static int32 EstimateRoadVehCost(EngineID engine_type)
{
return ((_price.roadveh_base >> 3) * RoadVehInfo(engine_type)->base_cost) >> 5;
}