mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-19 04:10:54 +00:00
In Player::updatePos(), when processing physics collision results, the code was incorrectly using col.object instead of colCheck.object when checking if the collision object is a player. This caused: - First iteration: col.object is uninitialized (zeroed), leading to null pointer access - Subsequent iterations: col.object contains the previous iteration's value, causing incorrect type checks The fix changes col.object to colCheck.object to properly check the current collision object. |
||
|---|---|---|
| .. | ||
| bin | ||
| lib | ||
| modules/Verve | ||
| source | ||
| CMakeLists.txt | ||