ohh I see, it fits with the hp value which in 'short' type as well
Something tells me PWI was done with copy+paste coding. Sometimes they got lucky and copied efficient stuff from the net, other times it was their standard quality.Quote:
I find that funny too - There is a byte in char struct which saves info bitwise (was +678 a few patches ago). That made me wonder, because like you said, they are NOT efficient at all. This is a strong contrast how the rest is coded, and even the protocol (lots of junk bytes on certain packets, but then we come across a custom "packed" datatype for length of packets and length of strings in protocol, so there's a big gap there...). And yeah, I doubt anybody will ever reach 4 Billion HP :D...