diff options
author | alberth <alberth@openttd.org> | 2010-03-20 15:30:57 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-03-20 15:30:57 +0000 |
commit | f05a8635fdaea2bf3e9148a070d3750afbba8ebc (patch) | |
tree | 4a02a67c38cdf022a8c068ecb316dcbde16a640b /src/autoreplace.cpp | |
parent | 073f627930ba7816302afe10dcd2b44031c70fb6 (diff) | |
download | openttd-f05a8635fdaea2bf3e9148a070d3750afbba8ebc.tar.xz |
(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.
Diffstat (limited to 'src/autoreplace.cpp')
-rw-r--r-- | src/autoreplace.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/autoreplace.cpp b/src/autoreplace.cpp index 867e27394..ff3544fba 100644 --- a/src/autoreplace.cpp +++ b/src/autoreplace.cpp @@ -85,8 +85,7 @@ CommandCost RemoveEngineReplacement(EngineRenewList *erl, EngineID engine, Group EngineRenew *er = (EngineRenew *)(*erl); EngineRenew *prev = NULL; - while (er) - { + while (er) { if (er->from == engine && er->group_id == group) { if (flags & DC_EXEC) { if (prev == NULL) { // First element |