Mercurial > hg > openttd
changeset 6157:e080eca511f9 draft
(svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides...
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Sun, 25 Feb 2007 14:33:43 +0000 |
parents | b32f90d510ef |
children | 0a9ef1907f84 |
files | src/newgrf_engine.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -44,7 +44,7 @@ WagonOverride *wo; assert(engine < TOTAL_NUM_ENGINES); - assert(cargo < NUM_CARGO + 1); // Include CT_DEFAULT pseudo cargo. CT_PURCHASE does not apply to overrides. + assert(cargo < NUM_CARGO + 2); // Include CT_DEFAULT and CT_PURCHASE pseudo cargos. wos = &_engine_wagon_overrides[engine]; wos->overrides_count++;