mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides...
This commit is contained in:
parent
87226c519a
commit
7669f63d4e
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user