Describe the bug
Models with a negative body group id will crash the client when looked at.
To Reproduce
Create a model with body groups
Look at it
Type ent_fire !picker setbodygroup -1
The game will crash
Expected behavior
The game should support 2^32 bodygroup ids, but because of this, it only supports 2^31. Change the bodygroup value to a unsigned int and the problem should be solved.
Describe the bug Models with a negative body group id will crash the client when looked at.
To Reproduce
ent_fire !picker setbodygroup -1
The game will crashExpected behavior The game should support 2^32 bodygroup ids, but because of this, it only supports 2^31. Change the bodygroup value to a unsigned int and the problem should be solved.