diff options
author | smatz <smatz@openttd.org> | 2009-08-09 14:40:34 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-09 14:40:34 +0000 |
commit | e707c824126ff8de5903d7c94f332d670529318a (patch) | |
tree | 9e51369165d8d8bfd6c03cc48386349886c0568f /src/ai/api | |
parent | 05a65dcc126d749e569562412c9b38ca6439eaf3 (diff) | |
download | openttd-e707c824126ff8de5903d7c94f332d670529318a.tar.xz |
(svn r17131) -Codechange: apply coding style to some switch statements
Diffstat (limited to 'src/ai/api')
-rw-r--r-- | src/ai/api/ai_town.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ai/api/ai_town.cpp b/src/ai/api/ai_town.cpp index a1810a1c4..46a703214 100644 --- a/src/ai/api/ai_town.cpp +++ b/src/ai/api/ai_town.cpp @@ -64,7 +64,7 @@ const Town *t = ::Town::Get(town_id); - switch(AICargo::GetTownEffect(cargo_id)) { + switch (AICargo::GetTownEffect(cargo_id)) { case AICargo::TE_PASSENGERS: return t->act_pass; case AICargo::TE_MAIL: return t->act_mail; default: return -1; @@ -78,7 +78,7 @@ const Town *t = ::Town::Get(town_id); - switch(AICargo::GetTownEffect(cargo_id)) { + switch (AICargo::GetTownEffect(cargo_id)) { case AICargo::TE_PASSENGERS: return t->pct_pass_transported; case AICargo::TE_MAIL: return t->pct_mail_transported; default: return -1; @@ -92,7 +92,7 @@ const Town *t = ::Town::Get(town_id); - switch(AICargo::GetTownEffect(cargo_id)) { + switch (AICargo::GetTownEffect(cargo_id)) { case AICargo::TE_PASSENGERS: return t->max_pass; case AICargo::TE_MAIL: return t->max_mail; default: return -1; |