From 0bacdfa494096cec26935a323d851f812a6fbfa1 Mon Sep 17 00:00:00 2001 From: Julie Marchant Date: Tue, 21 May 2019 13:35:38 -0400 Subject: [PATCH] Removed the camera fix for Classic difficulty. This re-implements the bug where the edge of the screen effectively slows you down. I might revert this; we'll see. --- src/game.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index 9f603e1..fbf0434 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1430,9 +1430,7 @@ static void game_doPlayer() if (engine.done == 0) { - if ((game.difficulty != DIFFICULTY_ORIGINAL) || - ((game.area != MISN_ELLESH) && - (game.area != MISN_MARS))) + if (game.difficulty != DIFFICULTY_ORIGINAL) { if (xmoved) { @@ -1447,7 +1445,7 @@ static void game_doPlayer() player.x = screen->w - X_VIEW_BORDER; } } - else if (game.difficulty != DIFFICULTY_ORIGINAL) + else { cd = player.x - screen->w / 2; if (cd < 0) @@ -1477,7 +1475,7 @@ static void game_doPlayer() player.y = screen->h - Y_VIEW_BORDER; } } - else if (game.difficulty != DIFFICULTY_ORIGINAL) + else { cd = player.y - screen->h / 2; if (cd < 0)