Revert "Removed the camera fix for Classic difficulty."

This reverts commit 0bacdfa494.
This commit is contained in:
Julie Marchant 2019-05-29 20:58:12 -04:00
parent ec2d532435
commit 628ed07c8b
1 changed files with 5 additions and 3 deletions

View File

@ -1435,7 +1435,9 @@ static void game_doPlayer()
if (engine.done == 0) if (engine.done == 0)
{ {
if (game.difficulty != DIFFICULTY_ORIGINAL) if ((game.difficulty != DIFFICULTY_ORIGINAL) ||
((game.area != MISN_ELLESH) &&
(game.area != MISN_MARS)))
{ {
if (xmoved) if (xmoved)
{ {
@ -1450,7 +1452,7 @@ static void game_doPlayer()
player.x = screen->w - X_VIEW_BORDER; player.x = screen->w - X_VIEW_BORDER;
} }
} }
else else if (game.difficulty != DIFFICULTY_ORIGINAL)
{ {
cd = player.x - screen->w / 2; cd = player.x - screen->w / 2;
if (cd < 0) if (cd < 0)
@ -1480,7 +1482,7 @@ static void game_doPlayer()
player.y = screen->h - Y_VIEW_BORDER; player.y = screen->h - Y_VIEW_BORDER;
} }
} }
else else if (game.difficulty != DIFFICULTY_ORIGINAL)
{ {
cd = player.y - screen->h / 2; cd = player.y - screen->h / 2;
if (cd < 0) if (cd < 0)