mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-01 01:41:13 +00:00
- VehicleMoveHit
This commit is contained in:
parent
57fc6ce53a
commit
8af0455f92
3 changed files with 18 additions and 35 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue