mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- Exhumed: clear all pointers in the player struct when starting a level.
This commit is contained in:
parent
be2efc03ad
commit
9c07f05f0f
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,8 @@ void InitPlayer()
|
|||
{
|
||||
for (int i = 0; i < kMaxPlayers; i++) {
|
||||
PlayerList[i].pActor = nullptr;
|
||||
PlayerList[i].pPlayerPushSect = nullptr;
|
||||
PlayerList[i].pPlayerViewSect = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue