The prize of a huge Xenon tank is negative!
The reason of it is that the prize of the rocket uses the int,and the real prize of the rocket is more expensive than 2147483647 dollars. The prize of the rocket should use the long long int.
Bug
Planned
Found in 0.9.203.0
View |
3 Comments
- Log in to leave a comment
-
8,625 s5ehfr9
It's because it's a number higher than the upper limit an int can store. Just change the variable type to long and you will end up with a maximum value of 9,223,372,036,854,775,807
I'm pretty sure that Andrew knows this though.
-
Dev AndrewGarrison
lol, thanks for letting us know. We are having a big sale on xenon tanks.
2 Upvotes
Log in in to upvote this post.
@AndrewGarrison is the maximum number for things going to be put past the 32-bit integer limit?