- changed most places where a player index is calculated by subtracting the player array's base access.
This commit is contained in:
parent
d358e401ee
commit
202f3d7d80
10 changed files with 27 additions and 25 deletions
|
|
@ -675,9 +675,9 @@ void FLevelLocals::ChangeLevel(const char *levelname, int position, int flags, i
|
|||
|
||||
for(int i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (playeringame[i])
|
||||
if (PlayerInGame(i))
|
||||
{
|
||||
player_t *player = &players[i];
|
||||
player_t *player = Players[i];
|
||||
|
||||
// Un-crouch all players here.
|
||||
player->Uncrouch();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue