Update to ZDoom r2150:

- Fixed: Closing doors early would never restart the sound sequence if it was manually placed.
- Fixed: "Animation <X> in ANIMATED has only one frame" message was missing a newline.
- fixed positioning of player mugshot background on Doom status bar.
- added Gez's Plane_Copy submission with some extensions and improvements.
  This line special is the last of the slope creation methods being processed so it can copy any other type of slope.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@739 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
Christoph Oelckers 2010-02-03 12:55:21 +00:00
parent e96944df13
commit e47966c1f8
11 changed files with 114 additions and 38 deletions

View file

@ -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 += FLOAT2FIXED (finecosine[ang] * thrust);
thing->vely += FLOAT2FIXED (finesine[ang] * thrust);
thing->velx += fixed_t (finecosine[ang] * thrust);
thing->vely += fixed_t (finesine[ang] * thrust);
if (bombdodamage)
thing->velz += (fixed_t)velz; // this really doesn't work well
}