mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 20:40:39 +00:00
- Exhumed: Store the player's index within the player's struct.
This commit is contained in:
parent
645d75ba0b
commit
27144c0bc3
2 changed files with 3 additions and 0 deletions
|
@ -254,6 +254,8 @@ void RestartPlayer(int nPlayer)
|
|||
|
||||
DExhumedActor* floorsprt;
|
||||
|
||||
plr->nPlayer = nPlayer;
|
||||
|
||||
if (pActor)
|
||||
{
|
||||
runlist_DoSubRunRec(pActor->spr.intowner);
|
||||
|
|
|
@ -100,6 +100,7 @@ struct Player
|
|||
uint16_t nPlayerWeapons; // each set bit represents a weapon the player has
|
||||
int16_t dVertPan;
|
||||
double nQuake;
|
||||
uint8_t nPlayer;
|
||||
PlayerSave sPlayerSave;
|
||||
int ototalvel;
|
||||
int totalvel;
|
||||
|
|
Loading…
Reference in a new issue