Skip to content

[BUG]: m_pActiveItem Crashes the server when its being set to -1, or 0#1145

Description

@Natsheh11

馃憠馃憟 Contact Details (optional)

No response

馃 What happened?

A bug happened!

So basically when i try to set player's Active item to -1 or 0, the server crashes due to the invalid checks

In Player PreThink >> ItemPreFrame >> Checks if(!m_pActiveItem) it checks if m_pActiveItem is 0 therefore it will avoid returning when pActiveItem is set to -1, and the same thing happens when setting m_pActiveItem to 0, UpdateClientData crashes...

鈿狅笍 Meta-information

linux

馃搫 Relevant log output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions