You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set low or too high value for a damage of entity derived from CGrenade, the values sent in TE_EXPLOSION and TE_SMOKE are getting overflown, because they're sent as bytes.
Example: set sk_plr_9mmAR_grenade1 to 10 and test the AR grenade in singleplayer. The explosion and smoke effects will be too large.
Probably need to clamp between 1 and 255.
The text was updated successfully, but these errors were encountered:
If you set low or too high value for a damage of entity derived from
CGrenade
, the values sent inTE_EXPLOSION
andTE_SMOKE
are getting overflown, because they're sent as bytes.Example: set
sk_plr_9mmAR_grenade1
to 10 and test the AR grenade in singleplayer. The explosion and smoke effects will be too large.Probably need to clamp between 1 and 255.
The text was updated successfully, but these errors were encountered: