Skip to content

fix: out of range crash in cs_office in CS:S#18

Open
ALittlePatate wants to merge 2 commits intoReactiioN1337:legacyfrom
ALittlePatate:legacy
Open

fix: out of range crash in cs_office in CS:S#18
ALittlePatate wants to merge 2 commits intoReactiioN1337:legacyfrom
ALittlePatate:legacy

Conversation

@ALittlePatate
Copy link
Copy Markdown

leaf->first_leafbrush can have a greater size than leaf_brushes when playing on cs_office in Counter Strike: Source for some reasons.
I fixed the issue with a simple "is-greater-than" check

ALittlePatate added a commit to ALittlePatate/CSS-external that referenced this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant