diff options
author | rubidium <rubidium@openttd.org> | 2009-03-14 18:16:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-14 18:16:29 +0000 |
commit | 9d018723b7bab3341cd455708a6cd98283d75c34 (patch) | |
tree | 52ab96dc0e1aa14f6c966c67c4a94ba1762f9c15 /src/elrail.cpp | |
parent | 1692ce83122d1ed15206f160aea339761b173174 (diff) | |
download | openttd-9d018723b7bab3341cd455708a6cd98283d75c34.tar.xz |
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
Diffstat (limited to 'src/elrail.cpp')
-rw-r--r-- | src/elrail.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/elrail.cpp b/src/elrail.cpp index c5dfbcf57..9aa905701 100644 --- a/src/elrail.cpp +++ b/src/elrail.cpp @@ -552,12 +552,12 @@ bool SettingsDisableElrail(int32 p1) } /* when disabling elrails, make sure that all existing trains can run on - * normal rail too */ + * normal rail too */ if (disable) { FOR_ALL_VEHICLES(v) { if (v->type == VEH_TRAIN && v->u.rail.railtype == RAILTYPE_ELECTRIC) { /* this railroad vehicle is now compatible only with elrail, - * so add there also normal rail compatibility */ + * so add there also normal rail compatibility */ v->u.rail.compatible_railtypes |= RAILTYPES_RAIL; v->u.rail.railtype = RAILTYPE_RAIL; SetBit(v->u.rail.flags, VRF_EL_ENGINE_ALLOWED_NORMAL_RAIL); @@ -577,8 +577,8 @@ bool SettingsDisableElrail(int32 p1) FOR_ALL_COMPANIES(c) c->avail_railtypes = GetCompanyRailtypes(c->index); /* This resets the _last_built_railtype, which will be invalid for electric - * rails. It may have unintended consequences if that function is ever - * extended, though. */ + * rails. It may have unintended consequences if that function is ever + * extended, though. */ ReinitGuiAfterToggleElrail(disable); return true; } |