Describe the bug
using the physics gun to pull in objects from a distance causes a dynamic cast error to occur
Steps to reproduce
Steps to reproduce the behavior:
- try to pickup a object like a prop_physics or a grenade with the physics gun
- crash
Expected behavior
its expected of the object to be pulled in by the gravity gun and not crash the game
Additional context
it looks like the recent addition from 02e232b is to blame for this issue as the dynamic cast fails on this line specifically it doesn't matter what object it is it always fails to cast and a breakpoint get hit on the dynamic cast line you can check the call stack for more issues
NOTE: I compile the mapabse source code with the latest VS2022 V143 build tools
Describe the bug
using the physics gun to pull in objects from a distance causes a dynamic cast error to occur
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
its expected of the object to be pulled in by the gravity gun and not crash the game
Additional context
it looks like the recent addition from 02e232b is to blame for this issue as the dynamic cast fails on this line specifically it doesn't matter what object it is it always fails to cast and a breakpoint get hit on the dynamic cast line you can check the call stack for more issues
NOTE: I compile the mapabse source code with the latest VS2022 V143 build tools