Re: Negative Damage?
I'm not certain, but that sounds like an integer overrun.
If an operation would put a variable past the upper boundary for its type, it will sometimes "wrap around" past the lower bound. For example, if the allowed range is -511 to +512, and the variable has been set to 520, it will display as -503. Or something like that.
However, it seems really odd that damage amounts would be typed to such a low upper bound, so I'm probably wrong.
Edit: SJ types faster than me, and explained it better to boot.
__________________
Cap'n Q
"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
|