Merge branch 'master' into float
# Conflicts: # src/g_heretic/a_hereticweaps.cpp # src/p_map.cpp # src/p_mobj.cpp # src/p_things.cpp # src/portal.cpp
This commit is contained in:
commit
c64eee5b15
104 changed files with 1206 additions and 1073 deletions
|
|
@ -900,8 +900,8 @@ void FPolyObj::ThrustMobj (AActor *actor, side_t *side)
|
|||
|
||||
thrustX = FixedMul (force, finecosine[thrustAngle]);
|
||||
thrustY = FixedMul (force, finesine[thrustAngle]);
|
||||
actor->velx += thrustX;
|
||||
actor->vely += thrustY;
|
||||
actor->vel.x += thrustX;
|
||||
actor->vel.y += thrustY;
|
||||
if (crush)
|
||||
{
|
||||
fixedvec2 pos = actor->Vec2Offset(thrustX, thrustY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue