mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r6386) -Fix(r6376): removed a warning
This commit is contained in:
parent
3d6f6813f2
commit
9aa84ab2d2
@ -729,7 +729,7 @@ CargoID FindFirstRefittableCargo(EngineID engine_type)
|
|||||||
*/
|
*/
|
||||||
int32 GetRefitCost(EngineID engine_type)
|
int32 GetRefitCost(EngineID engine_type)
|
||||||
{
|
{
|
||||||
int32 base_cost;
|
int32 base_cost = 0;
|
||||||
|
|
||||||
switch (GetEngine(engine_type)->type) {
|
switch (GetEngine(engine_type)->type) {
|
||||||
case VEH_Ship: base_cost = _price.ship_base; break;
|
case VEH_Ship: base_cost = _price.ship_base; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user