From 19501f3ed093ec93c2049a1c5040dc335cbf4bf9 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 23 Apr 2023 19:19:47 +1000 Subject: [PATCH] - Exhumed: Fix some typos in comments. --- source/games/exhumed/src/player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/exhumed/src/player.cpp b/source/games/exhumed/src/player.cpp index 3a1a5fa13..15028145f 100644 --- a/source/games/exhumed/src/player.cpp +++ b/source/games/exhumed/src/player.cpp @@ -1577,9 +1577,9 @@ static void doPlayerCameraEffects(Player* const pPlayer, const double nDestVertP pPlayer->nIdxBobZ += (2048. / 90.) * cl_exviewbobspeed / cl_viewbob / (nUnderwater + 1); pPlayer->nIdxBobZ *= !pPlayerActor->vel.Z; - // Increment bob value with index's sine, amplifed by player velocity, bob type and bob height CVAR. + // Increment bob value with index's sine, amplified by player velocity, bob type and bob height CVAR. const auto nBobVel = (pPlayer->vel.Length() < 0.09375 && nUnderwater) ? (maxVel / 3.) : pPlayer->totalvel; - const auto nBobAmp = nBobVel * 0.05 * cl_viewbob * cl_exviewbobheight; + const auto nBobAmp = nBobVel * 0.05 * cl_viewbob * cl_exviewbobheight; const auto newBobZ = BobVal(pPlayer->nIdxBobZ) * nBobAmp; pPlayer->nBobZ = (cl_viewbob == 2) ? (abs(newBobZ) - nBobAmp * 0.5 * !nUnderwater) : (newBobZ); }