- Exhumed: Remove useless sectortype extern pointer.

This commit is contained in:
Mitchell Richters 2023-03-28 08:51:51 +11:00
parent c6a53265eb
commit 72be2623c3
3 changed files with 1 additions and 6 deletions

View file

@ -1677,10 +1677,7 @@ static void updatePlayerViewSector(Player* const pPlayer, const Collision& nMove
pPlayer->pPlayerViewSect = pViewSect;
if (nLocalPlayer == pPlayer->nPlayer)
{
pLocalEyeSect = pPlayer->pPlayerViewSect;
CheckAmbience(pLocalEyeSect);
}
CheckAmbience(pPlayer->pPlayerViewSect);
pPlayer->nPlayerD = pPlayerActor->spr.pos - spr_pos;
}

View file

@ -115,7 +115,6 @@ const char *SoundFiles[kMaxSoundFiles] =
int nStopSound;
int nStoneSound;
int nSwitchSound;
sectortype* pLocalEyeSect;
int nElevSound;
int nCreepyTimer;

View file

@ -108,7 +108,6 @@ extern int gFXVolume;
extern int nStopSound;
extern int nStoneSound;
extern int nSwitchSound;
extern sectortype* pLocalEyeSect;
extern int nElevSound;
extern int nCreepyTimer;