diff options
author | tron <tron@openttd.org> | 2006-01-05 12:40:50 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-01-05 12:40:50 +0000 |
commit | e272b03feea5b4c870dd4af5be9071c903c6173d (patch) | |
tree | d69972d96a0b32848f54422f41b00cf39d06c5f7 /roadveh_cmd.c | |
parent | 980e8f525b924491915571c2ed03469bd6751047 (diff) | |
download | openttd-e272b03feea5b4c870dd4af5be9071c903c6173d.tar.xz |
(svn r3365) Staticise 36 functions
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r-- | roadveh_cmd.c | 2 |
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; } |