- floatified player_orig::oa

This commit is contained in:
Christoph Oelckers 2022-09-15 17:54:07 +02:00
parent 54346d9398
commit d994dbd537
2 changed files with 3 additions and 3 deletions

View file

@ -98,7 +98,7 @@ void pickrandomspot(int snum)
p->pos = po[i].opos;
p->backupxyz();
p->setbobpos();
p->angle.oang = p->angle.ang = DAngle::fromBuild(po[i].oa);
p->angle.oang = p->angle.ang = po[i].oa;
p->setCursector(po[i].os);
}
@ -607,7 +607,7 @@ void resetpspritevars(int g)
I_Error("Too many player sprites (max 16.)");
po[numplayersprites].opos = act->spr.pos;
po[numplayersprites].oa = act->int_ang();
po[numplayersprites].oa = act->spr.angle;
po[numplayersprites].os = act->sector();
numplayersprites++;

View file

@ -181,7 +181,7 @@ struct user_defs
struct player_orig
{
DVector3 opos;
short oa;
DAngle oa;
sectortype* os;
};