We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 622e483 + 014ab69 commit 58632d0Copy full SHA for 58632d0
1 file changed
Engine/source/T3D/player.cpp
@@ -5169,7 +5169,7 @@ bool Player::updatePos(const F32 travelTime)
5169
Collision& colCheck = collisionList[i];
5170
if (colCheck.object)
5171
{
5172
- SceneObject* obj = static_cast<SceneObject*>(col.object);
+ SceneObject* obj = static_cast<SceneObject*>(colCheck.object);
5173
if (obj->getTypeMask() & PlayerObjectType)
5174
5175
_handleCollision( colCheck );
0 commit comments