mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-03 02:30:53 +00:00
Update to ZDoom r 2145:
- fixed: Rocket trail particle positioning only worked when the rocket was moving. - fixed: Sector_SetWind and Sector_SetCurrent were not usable in scripts called from a line. - added Gez's A_Mushroom extension. - added a minimum threshold for damage thrust to avoid micro-velocities being set for actors. - fixed: Strife's Oracle is not a living thing and needs the NOBLOOD flag. - fixed: Chex Quest's finale pic was wrong. - fixed: Being resurrected by an Arch Vile did not restore flags5 and flags6 to the defaults. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@738 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
10b2f40b2e
commit
e96944df13
14 changed files with 57 additions and 25 deletions
|
@ -4356,8 +4356,8 @@ void P_RadiusAttack (AActor *bombspot, AActor *bombsource, int bombdamage, int b
|
|||
velz *= 0.8f;
|
||||
}
|
||||
angle_t ang = R_PointToAngle2 (bombspot->x, bombspot->y, thing->x, thing->y) >> ANGLETOFINESHIFT;
|
||||
thing->velx += fixed_t (finecosine[ang] * thrust);
|
||||
thing->vely += fixed_t (finesine[ang] * thrust);
|
||||
thing->velx += FLOAT2FIXED (finecosine[ang] * thrust);
|
||||
thing->vely += FLOAT2FIXED (finesine[ang] * thrust);
|
||||
if (bombdodamage)
|
||||
thing->velz += (fixed_t)velz; // this really doesn't work well
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue