Change: [NewGRF] Increase the textstack for all callbacks to 16 registers.
This commit is contained in:
@@ -560,7 +560,7 @@ CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, siz
|
||||
ind.psa = nullptr;
|
||||
|
||||
IndustriesResolverObject object(tile, &ind, type, seed, CBID_INDUSTRY_LOCATION, 0, creation_type);
|
||||
std::array<int32_t, 4> regs100;
|
||||
std::array<int32_t, 16> regs100;
|
||||
uint16_t result = object.ResolveCallback(regs100);
|
||||
|
||||
/* Unlike the "normal" cases, not having a valid result means we allow
|
||||
|
||||
Reference in New Issue
Block a user