- VehicleMoveHit

This commit is contained in:
Christoph Oelckers 2021-11-05 00:37:15 +01:00
parent 57fc6ce53a
commit 8af0455f92
3 changed files with 18 additions and 35 deletions

View file

@ -5013,7 +5013,7 @@ void DoPlayerBeginOperate(PLAYERp pp)
}
pp->sop = pp->sop_control = sop;
sop->controller = &pp->Actor()->s();
sop->controller = pp->Actor();
pp->angle.oang = pp->angle.ang = buildang(sop->ang);
pp->posx = sop->xmid;
@ -5080,7 +5080,7 @@ void DoPlayerBeginRemoteOperate(PLAYERp pp, SECTOR_OBJECTp sop)
short save_sectnum;
pp->sop_remote = pp->sop = pp->sop_control = sop;
sop->controller = &pp->Actor()->s();
sop->controller = pp->Actor();
// won't operate - broken
if (sop->max_damage != -9999 && sop->max_damage <= 0)