Enable PF_USES_THRUST when reseting multiplayer flags
Commitb1b5de4
switched from enabling select physics flags to setting those flags and clearing all others. Unfortunately, flag PF_USES_THRUST was omitted from the enabled list, so it was disabled on reset. It is required to let player ships move. Reported-by: Sottises <https://github.com/dxx-rebirth/dxx-rebirth/issues/347> Fixes:b1b5de4297
("Additional safeguard for bug #306")
This commit is contained in:
parent
d4e8a92932
commit
c3434e61d3
|
@ -2374,7 +2374,7 @@ void multi_reset_player_object(const vmobjptr_t objp)
|
|||
objp->mtype.phys_info.mass = Player_ship->mass;
|
||||
objp->mtype.phys_info.drag = Player_ship->drag;
|
||||
if (objp->type == OBJ_PLAYER)
|
||||
objp->mtype.phys_info.flags = PF_TURNROLL | PF_WIGGLE;
|
||||
objp->mtype.phys_info.flags = PF_TURNROLL | PF_WIGGLE | PF_USES_THRUST;
|
||||
else
|
||||
objp->mtype.phys_info.flags &= ~(PF_TURNROLL | PF_LEVELLING | PF_WIGGLE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue