Skip to content

CCSPlayer_ItemServices_DropActivePlayerWeapon should be going with 2nd arg const Vector& vecDropMomentum #1214

@hzqst

Description

@hzqst
Image Image Image

This may lead to NaN entity velocity if a2 were left uninitialized at that time.

I sugguest passing an empty vector to vecDropMomentum in DropActiveWeapon to keep API consistency/stable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedNew issue has not been triaged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions