Page 1 of 1

[0.10.8] logistics request selection count overflows

Posted: Fri Aug 29, 2014 5:45 am
by Rseding91
When selecting the count of items to be delivered to a logistics point it overflows uint16_t: selecting 65536 items to be delivered will result in 0 for the count.

Looking into it, the ActionData class is casting the input to a uint16_t when it shouldn't be (as well as a few other places I would assume).

Steps to reproduce:
  • Load any game
  • Place down a requester chest
  • Put in 65536 items as the count
Note how it displays 0.

Re: [0.10.8] logistics request selection count overflows

Posted: Fri Aug 29, 2014 6:05 am
by kovarex
Thanks, fixed for 0.10.9