Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grenades are missing due to high velocity value #889

Closed
Nord1cWarr1or opened this issue Oct 29, 2023 · 1 comment
Closed

Grenades are missing due to high velocity value #889

Nord1cWarr1or opened this issue Oct 29, 2023 · 1 comment

Comments

@Nord1cWarr1or
Copy link
Contributor

The problem is that the engine calls Think at the entity first, then checks for maxvelocity. And think calls IsInWorld function, which removes the grenade at high velocity value.
I think the correct thing to do is to limit the velocity of the grenade to match the value of the maxvelocity cvar before checking for IsInWorld.

bug.mp4
@dystopm
Copy link
Contributor

dystopm commented Oct 30, 2023

Test PR #888 , made a change, it should keep nades in world when reaching high speed values

@s1lentq s1lentq closed this as completed Nov 28, 2023
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

No branches or pull requests

3 participants