Mercurial > hg > openttd
diff src/autoreplace_cmd.cpp @ 11913:f67b6243e05a draft
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
author | yexo <yexo@openttd.org> |
---|---|
date | Fri, 15 May 2009 23:55:06 +0000 (2009-05-15) |
parents | fff0ccb2819a |
children | 0a4b63f3f3c3 |
line wrap: on
line diff
--- a/src/autoreplace_cmd.cpp +++ b/src/autoreplace_cmd.cpp @@ -624,7 +624,7 @@ } const Company *c = GetCompany(_current_company); - bool wagon_removal = c->renew_keep_length; + bool wagon_removal = c->settings.renew_keep_length; /* Test whether any replacement is set, before issuing a whole lot of commands that would end in nothing changed */ Vehicle *w = v;