- Exhumed: clear all pointers in the player struct when starting a level.

This commit is contained in:
Christoph Oelckers 2022-01-03 22:13:45 +01:00
parent be2efc03ad
commit 9c07f05f0f

View file

@ -171,6 +171,8 @@ void InitPlayer()
{ {
for (int i = 0; i < kMaxPlayers; i++) { for (int i = 0; i < kMaxPlayers; i++) {
PlayerList[i].pActor = nullptr; PlayerList[i].pActor = nullptr;
PlayerList[i].pPlayerPushSect = nullptr;
PlayerList[i].pPlayerViewSect = nullptr;
} }
} }