- SW: Tidy up one vector equality test.

This commit is contained in:
Mitchell Richters 2022-11-16 13:25:19 +11:00 committed by Christoph Oelckers
parent 7d0b2fba69
commit 7757288d33

View file

@ -598,7 +598,7 @@ void JS_DrawCameras(PLAYER* pp, const DVector3& campos, double smoothratio)
// If player is dead still then update at MoveSkip4
// rate.
if (pp->PlayerNowPosition.X == pp->PlayerPrevPosition.X && pp->PlayerNowPosition.Y == pp->PlayerPrevPosition.Y && pp->PlayerNowPosition.Z == pp->PlayerPrevPosition.Z)
if (pp->PlayerNowPosition == pp->PlayerPrevPosition)
DoCam = true;