Change: [NewGRF] Increase the textstack for all callbacks to 16 registers.

This commit is contained in:
frosch
2025-05-06 17:31:51 +02:00
committed by frosch
parent c6fa5022cb
commit a277cb2b4c
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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