Patch will change type of speed related variables to sint32.
Why did you change the type of ware_besch_t::get_speed_bonus() ? Imho, this variable is not a speed but rather a positive multiplicator of goods prices.
Edit: Incorporated in 3823 (without the change in ware_besch_t::get_speed_bonus).
Thank you!
Debugging time.
#define SPEED_UNLIMITED ((std::numeric_limits<sint32>::max)())
Will give us big surprise in speed_to_kmh(SPEED_UNLIMITED).
Can we change it to something more sane? 1280000 (== 100000kmh)?
Why not. but how does this surprise affect the game?
It is not problem in Standard. But it is in Experimental.
But it can be logic error somewhere. Leave it as is then. I will find logic error.
If the bug is in the standard code, please report back / post your patch.