summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index a7578be1d..76fab7cc2 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -826,7 +826,8 @@ CommandCost CmdCompanyCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
}
}
#endif /* ENABLE_NETWORK */
- } break;
+ break;
+ }
case 1: // Make a new AI company
if (!(flags & DC_EXEC)) return CommandCost();
@@ -859,7 +860,8 @@ CommandCost CmdCompanyCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
CompanyID c_index = c->index;
delete c;
AI::BroadcastNewEvent(new AIEventCompanyBankrupt(c_index));
- } break;
+ break;
+ }
default: return CMD_ERROR;
}