(svn r6386) -Fix(r6376): removed a warning

This commit is contained in:
glx 2006-09-04 22:22:38 +00:00
parent 3d6f6813f2
commit 9aa84ab2d2

View File

@ -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;