- 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:
Randy Heit 2013-02-27 03:13:55 +00:00
parent be0845acf1
commit b93dfcf3cf

View file

@ -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))
{