From 1a25504d02d40f1ef3d2159c8dbb97b5979ddf93 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 26 Aug 2020 21:32:18 +0200 Subject: [PATCH] - looks like the nAngle field in the PLayerInput struct isn't used for anything anymore. --- source/exhumed/src/exhumed.cpp | 1 - source/exhumed/src/ps_input.h | 1 - 2 files changed, 2 deletions(-) diff --git a/source/exhumed/src/exhumed.cpp b/source/exhumed/src/exhumed.cpp index c6503008e..9881842b1 100644 --- a/source/exhumed/src/exhumed.cpp +++ b/source/exhumed/src/exhumed.cpp @@ -502,7 +502,6 @@ void GameTicker() // make weapon selection persist until it gets used up. if ((lLocalButtons & kButtonWeaponBits) == 0) lLocalButtons |= sPlayerInput[nLocalPlayer].buttons & kButtonWeaponBits; sPlayerInput[nLocalPlayer].buttons = lLocalButtons | lLocalCodes; - sPlayerInput[nLocalPlayer].nAngle = nPlayerDAng; sPlayerInput[nLocalPlayer].nTarget = besttarget; Ra[nLocalPlayer].nTarget = besttarget; diff --git a/source/exhumed/src/ps_input.h b/source/exhumed/src/ps_input.h index fbb73dfab..966313223 100644 --- a/source/exhumed/src/ps_input.h +++ b/source/exhumed/src/ps_input.h @@ -29,7 +29,6 @@ struct PlayerInput { int xVel; int yVel; - fix16_t nAngle; uint16_t buttons; short nTarget; fix16_t horizon;