(svn r9655) -Revert (r9094 partial): *Do* calculate refit masks for unavailable vehicle types... things like articulated engines can still build these parts... ... ... dot dot dot
This commit is contained in:
@@ -4402,9 +4402,6 @@ static const CargoLabel *_default_refitmasks[] = {
|
|||||||
static void CalculateRefitMasks()
|
static void CalculateRefitMasks()
|
||||||
{
|
{
|
||||||
for (EngineID engine = 0; engine < TOTAL_NUM_ENGINES; engine++) {
|
for (EngineID engine = 0; engine < TOTAL_NUM_ENGINES; engine++) {
|
||||||
/* Skip engine if not available in this climate */
|
|
||||||
if (!HASBIT(_engine_info[engine].climates, _opt.landscape)) continue;
|
|
||||||
|
|
||||||
uint32 mask = 0;
|
uint32 mask = 0;
|
||||||
uint32 not_mask = 0;
|
uint32 not_mask = 0;
|
||||||
uint32 xor_mask = 0;
|
uint32 xor_mask = 0;
|
||||||
|
Reference in New Issue
Block a user