- fixed backing off of monitor screens.

Although this is a blocking condition, it must not neutralize movement because it is needed to move away from the screen and end the camera view.
This commit is contained in:
Christoph Oelckers 2020-09-08 23:09:40 +02:00
parent 2fc058e487
commit cef1f8275b

View file

@ -928,7 +928,7 @@ static void FinalizeInput(int playerNum, InputPacket& input, bool vehicle)
auto p = &ps[playerNum]; auto p = &ps[playerNum];
bool blocked = movementBlocked(playerNum) || sprite[p->i].extra <= 0 || (p->dead_flag && !ud.god); bool blocked = movementBlocked(playerNum) || sprite[p->i].extra <= 0 || (p->dead_flag && !ud.god);
if (blocked) if (blocked && ps[playerNum].newowner < 0)
{ {
// neutralize all movement when blocked or in automap follow mode // neutralize all movement when blocked or in automap follow mode
loc.fvel = loc.svel = 0; loc.fvel = loc.svel = 0;