diff --git a/src/schdispatch_cmd.cpp b/src/schdispatch_cmd.cpp index 1d3c9c41ac..32d67b5484 100644 --- a/src/schdispatch_cmd.cpp +++ b/src/schdispatch_cmd.cpp @@ -27,11 +27,6 @@ #include "safeguards.h" -/* We squeeze this amount into 14 bit of data, so we must guarantee that - DAY_TICKS * (max_day_length_factor+1) can fit in 14-bit - See CmdScheduledDispatchSetStartDate */ -static_assert(DAY_TICKS * 126 < 16384); - /** * Enable or disable scheduled dispatch * @param tile Not used. @@ -181,9 +176,6 @@ CommandCost CmdScheduledDispatchSetDuration(TileIndex tile, DoCommandFlag flags, /** * Set scheduled dispatch start date * - * The parameter is quite tricky. The default maximum of daylength factor is 125, - * and with DAY_TICKS of 74 the result (maximum scaled tick per day) fits in 14 bit. - * * See also the static_assert at the top of the file. * * @param tile Not used.