mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- Fixed: G_DoLoadLevel() has a for loop where it resets player cameras that incremented and checked the wrong variable.
SVN r4168 (trunk)
This commit is contained in:
parent
be0845acf1
commit
b93dfcf3cf
1 changed files with 1 additions and 1 deletions
|
@ -927,7 +927,7 @@ void G_DoLoadLevel (int position, bool autosave)
|
|||
G_UnSnapshotLevel (!savegamerestore); // [RH] Restore the state of the level.
|
||||
G_FinishTravel ();
|
||||
// For each player, if they are viewing through a player, make sure it is themselves.
|
||||
for (int ii = 0; i < MAXPLAYERS; ++i)
|
||||
for (int ii = 0; ii < MAXPLAYERS; ++ii)
|
||||
{
|
||||
if (playeringame[ii] && (players[ii].camera == NULL || players[ii].camera->player != NULL))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue