From dee611f5f3e9989b469fc02f625d4ca67870af66 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 27 Jan 2024 23:23:59 +0000 Subject: [PATCH] Remove incorrect check from CmdScheduledDispatchAdjust --- src/schdispatch_cmd.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/schdispatch_cmd.cpp b/src/schdispatch_cmd.cpp index 7441ec1d7f..10263c10be 100644 --- a/src/schdispatch_cmd.cpp +++ b/src/schdispatch_cmd.cpp @@ -577,7 +577,6 @@ CommandCost CmdScheduledDispatchAdjust(TileIndex tile, DoCommandFlag flags, uint if (ret.Failed()) return ret; if (v->orders == nullptr) return CMD_ERROR; - if (v->orders->GetScheduledDispatchScheduleCount() >= 4096) return CMD_ERROR; if (schedule_index >= v->orders->GetScheduledDispatchScheduleCount()) return CMD_ERROR;