- floatified p_trace, p_slopes and p_udmf.cpp.
- major cleanup of unused code.
This commit is contained in:
parent
ced30e7bbb
commit
66929cbaff
35 changed files with 350 additions and 529 deletions
|
|
@ -883,9 +883,9 @@ void P_DisconnectEffect (AActor *actor)
|
|||
break;
|
||||
|
||||
|
||||
fixed_t xo = ((M_Random() - 128) << 9) * (actor->_f_radius() >> FRACBITS);
|
||||
fixed_t yo = ((M_Random() - 128) << 9) * (actor->_f_radius() >> FRACBITS);
|
||||
fixed_t zo = (M_Random() << 8) * (actor->_f_height() >> FRACBITS);
|
||||
fixed_t xo = ((M_Random() - 128) << 9) * int(actor->radius);
|
||||
fixed_t yo = ((M_Random() - 128) << 9) * int(actor->radius);
|
||||
fixed_t zo = (M_Random() << 8) * int(actor->Height);
|
||||
fixedvec3 pos = actor->Vec3Offset(xo, yo, zo);
|
||||
p->x = pos.x;
|
||||
p->y = pos.y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue