Skip to content

Commit

Permalink
UPBGE: Remove unused variable in obstacle simulation.
Browse files Browse the repository at this point in the history
  • Loading branch information
panzergame committed Aug 5, 2018
1 parent 32a6eaa commit b53c8bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/gameengine/Ketsji/KX_ObstacleSimulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,6 @@ static void processSamples(KX_Obstacle *activeObst, KX_NavMeshObject *activeNavM
res = mt::zero2;

const float ivmax = 1.0f / vmax;
const mt::vec2 adir = activeObst->pvel.SafeNormalized(mt::zero2);
const mt::vec2 activeObstPos = activeObst->m_pos.xy();

float minPenalty = FLT_MAX;
Expand Down

0 comments on commit b53c8bf

Please sign in to comment.