summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-05 13:39:38 +0000
committerbjarni <bjarni@openttd.org>2006-09-05 13:39:38 +0000
commit85a71fcea96bc48b59e9784368214c3fd3089706 (patch)
treea81c3c3485d597550f2f830e916c550ae6a7bce7
parent45467002186d715077dceff154d2de7bf41a49e3 (diff)
downloadopenttd-85a71fcea96bc48b59e9784368214c3fd3089706.tar.xz
(svn r6394) -Fix r6393: removed a warning originally removed in r6376 accidentally readded in r6393
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index 76d78168b..26ac7d8a0 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -729,7 +729,7 @@ CargoID FindFirstRefittableCargo(EngineID engine_type)
*/
int32 GetRefitCost(EngineID engine_type)
{
- int32 base_cost;
+ int32 base_cost = 0;
switch (GetEngine(engine_type)->type) {
case VEH_Ship: base_cost = _price.ship_base; break;