Skip to content

Commit

Permalink
Bugfix: Interacting with large objects causes odd behavior because of…
Browse files Browse the repository at this point in the history
… pick distance
  • Loading branch information
veryjos committed Nov 28, 2016
1 parent d6ccddc commit 388e2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PenumbraOverture/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ void cPlayer::SetPickedBody(iPhysicsBody* apBody)

float cPlayer::GetPickedDist()
{
return mpPickRayCallback->mfPickedDist;
return 0; // mpPickRayCallback->mfPickedDist;
}

const cVector3f& cPlayer::GetPickedPos()
Expand Down

0 comments on commit 388e2e4

Please sign in to comment.