aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/Dialog.Designer.cs
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-06-05 10:01:16 -0600
committerAShifter <[email protected]>2017-06-05 10:01:16 -0600
commita152c2c463d7ab45394b4fec84ae46be5105d3fe (patch)
tree7d437ad6e694c13ec6e4e34390698a3f9d6d6edf /ShiftOS.WinForms/Applications/Dialog.Designer.cs
parent61c906e596145bbedd60725c6dcee68c34a27907 (diff)
downloadshiftos_thereturn-a152c2c463d7ab45394b4fec84ae46be5105d3fe.tar.gz
shiftos_thereturn-a152c2c463d7ab45394b4fec84ae46be5105d3fe.tar.bz2
shiftos_thereturn-a152c2c463d7ab45394b4fec84ae46be5105d3fe.zip
Fixed ShiftLotto (again)
Recently, Codepoints have been changed to ULong64. While SuperDoggo (on discord) was playing ShiftLotto, he tried to bet 100cp with only 80cp. The check to make sure you don't overbet failed because ShiftLotto subtracts codepoints*difficulty - currentCodepoints. If this value is negitive, it should give you an error. But, due to the transition to ulong,, this does not work and the check passes, removing (or adding if you're lucky) codepoints, crashing the game. I fixed this by simply changing thechecking statment from subtraction to a Less Than check (<). WOW I TYPED ALOT OF STUFF
Diffstat (limited to 'ShiftOS.WinForms/Applications/Dialog.Designer.cs')
0 files changed, 0 insertions, 0 deletions