Skip to content

Commit

Permalink
Silence log spam.
Browse files Browse the repository at this point in the history
  • Loading branch information
bolrog committed May 3, 2021
1 parent 2cba2b6 commit 96fcf44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d2dx/UnitMotionPredictor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void UnitMotionPredictor::Update(

um.predictedPos.x = (int32_t)(((int64_t)um.predictedPos.x * oneMinusCorrectionAmount + (int64_t)um.correctedPos.x * correctionAmount) >> 16);
um.predictedPos.y = (int32_t)(((int64_t)um.predictedPos.y * oneMinusCorrectionAmount + (int64_t)um.correctedPos.y * correctionAmount) >> 16);
D2DX_LOG("Predicted %f %f", um.predictedPos.x / 65536.0f, um.predictedPos.y / 65536.0f);
//D2DX_DEBUG_LOG("Predicted %f %f", um.predictedPos.x / 65536.0f, um.predictedPos.y / 65536.0f);

int32_t ex = um.correctedPos.x - um.predictedPos.x;
int32_t ey = um.correctedPos.y - um.predictedPos.y;
Expand Down

0 comments on commit 96fcf44

Please sign in to comment.