Revert "Removed the camera fix for Classic difficulty."
This reverts commit 0bacdfa494
.
This commit is contained in:
parent
ec2d532435
commit
628ed07c8b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue