mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-14 08:30:35 +00:00
- Exhumed: Remove unused PlayerInput::buttons
This commit is contained in:
parent
c73ee5f848
commit
f77b1007be
2 changed files with 0 additions and 7 deletions
|
@ -146,8 +146,6 @@ int nEnergyTowers = 0;
|
|||
|
||||
int nCfgNetPlayers = 0;
|
||||
|
||||
int lLocalCodes = 0;
|
||||
|
||||
bool bCoordinates = false;
|
||||
|
||||
int nNetTime = -1;
|
||||
|
@ -481,14 +479,11 @@ void GameInterface::Ticker()
|
|||
sPlayerInput[nLocalPlayer].actions = localInput.actions;
|
||||
if (oldactions & SB_CENTERVIEW) sPlayerInput[nLocalPlayer].actions |= SB_CENTERVIEW;
|
||||
|
||||
sPlayerInput[nLocalPlayer].buttons = lLocalCodes;
|
||||
sPlayerInput[nLocalPlayer].nAngle = localInput.avel;
|
||||
sPlayerInput[nLocalPlayer].pan = localInput.horz;
|
||||
|
||||
PlayerList[nLocalPlayer].pTarget = Ra[nLocalPlayer].pTarget = bestTarget;
|
||||
|
||||
lLocalCodes = 0;
|
||||
|
||||
PlayClock += 4;
|
||||
if (PlayClock == 8) gameaction = ga_autosave; // let the game run for 1 frame before saving.
|
||||
GameMove();
|
||||
|
|
|
@ -33,7 +33,6 @@ enum {
|
|||
struct PlayerInput
|
||||
{
|
||||
DVector2 vel;
|
||||
uint16_t buttons;
|
||||
float nAngle;
|
||||
float pan;
|
||||
int8_t nItem;
|
||||
|
@ -57,7 +56,6 @@ int GetLocalInput();
|
|||
|
||||
extern PlayerInput sPlayerInput[];
|
||||
extern InputPacket localInput;
|
||||
extern int lLocalCodes;
|
||||
|
||||
END_PS_NS
|
||||
|
||||
|
|
Loading…
Reference in a new issue