diff options
author | peter1138 <peter1138@openttd.org> | 2007-02-25 14:33:43 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-02-25 14:33:43 +0000 |
commit | 8df0b8a685f3c79daad4a3d8c045c2b7abd367e4 (patch) | |
tree | 052c3e0f94dec43434a3e66935c00b7d3ac9d1a5 | |
parent | e981e0a55318659a06bfeff60e09ad720c2bed8d (diff) | |
download | openttd-8df0b8a685f3c79daad4a3d8c045c2b7abd367e4.tar.xz |
(svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides...
-rw-r--r-- | src/newgrf_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp index b54251e93..16bbb87da 100644 --- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -44,7 +44,7 @@ void SetWagonOverrideSprites(EngineID engine, CargoID cargo, const SpriteGroup * 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++; |