Remove obsolete comments about CmdScheduledDispatchSetStartDate

This commit is contained in:
Jonathan G Rennison
2022-02-26 23:37:09 +00:00
parent 156e53a519
commit 3422915bfa

View File

@@ -27,11 +27,6 @@
#include "safeguards.h" #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 * Enable or disable scheduled dispatch
* @param tile Not used. * @param tile Not used.
@@ -181,9 +176,6 @@ CommandCost CmdScheduledDispatchSetDuration(TileIndex tile, DoCommandFlag flags,
/** /**
* Set scheduled dispatch start date * 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. * See also the static_assert at the top of the file.
* *
* @param tile Not used. * @param tile Not used.