Add chicken bit to allow test/exec mismatch for all commands
This commit is contained in:
@@ -1156,7 +1156,7 @@ CommandCost DoCommandPInternal(TileIndex tile, uint32 p1, uint32 p2, uint64 p3,
|
||||
Backup<CompanyID> cur_company(_current_company, FILE_LINE);
|
||||
if (exec_as_spectator) cur_company.Change(COMPANY_SPECTATOR);
|
||||
|
||||
bool test_and_exec_can_differ = (cmd_flags & CMD_NO_TEST) != 0;
|
||||
bool test_and_exec_can_differ = ((cmd_flags & CMD_NO_TEST) != 0) || HasChickenBit(DCBF_CMD_NO_TEST_ALL);
|
||||
|
||||
GameRandomSeedChecker random_state;
|
||||
|
||||
|
Reference in New Issue
Block a user