mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-07 23:41:08 +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;
|
DExhumedActor* floorsprt;
|
||||||
|
|
||||||
|
plr->nPlayer = nPlayer;
|
||||||
|
|
||||||
if (pActor)
|
if (pActor)
|
||||||
{
|
{
|
||||||
runlist_DoSubRunRec(pActor->spr.intowner);
|
runlist_DoSubRunRec(pActor->spr.intowner);
|
||||||
|
|
|
@ -100,6 +100,7 @@ struct Player
|
||||||
uint16_t nPlayerWeapons; // each set bit represents a weapon the player has
|
uint16_t nPlayerWeapons; // each set bit represents a weapon the player has
|
||||||
int16_t dVertPan;
|
int16_t dVertPan;
|
||||||
double nQuake;
|
double nQuake;
|
||||||
|
uint8_t nPlayer;
|
||||||
PlayerSave sPlayerSave;
|
PlayerSave sPlayerSave;
|
||||||
int ototalvel;
|
int ototalvel;
|
||||||
int totalvel;
|
int totalvel;
|
||||||
|
|
Loading…
Reference in a new issue