In original difficulty, no moving the camera on autoscrolling missions.
This commit is contained in:
parent
baab0e7897
commit
8698125f5f
10
src/game.cpp
10
src/game.cpp
|
@ -1233,6 +1233,10 @@ static void game_doPlayer()
|
|||
}
|
||||
|
||||
if (engine.done == 0)
|
||||
{
|
||||
if ((currentGame.difficulty != DIFFICULTY_ORIGINAL) ||
|
||||
((currentGame.area != MISN_ELLESH) &&
|
||||
(currentGame.area != MISN_MARS)))
|
||||
{
|
||||
if (xmoved)
|
||||
{
|
||||
|
@ -1294,6 +1298,12 @@ static void game_doPlayer()
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
LIMIT(player.x, xViewBorder, screen->w - xViewBorder);
|
||||
LIMIT(player.y, yViewBorder, screen->h - yViewBorder);
|
||||
}
|
||||
}
|
||||
|
||||
if ((player.maxShield <= 1) || (player.shield > engine.lowShield))
|
||||
explosion_addEngine(&player);
|
||||
|
|
Loading…
Reference in New Issue