- fixed: A_CountdownArg used 0 based indices although all uses of it assumed
it is 1-based. - added MF5_DONTRIP flag. - added CheckActorFloorTexture, CheckActorCeilingTexture and GetActorLightLevel ACS functions. - added IF_ADDITIVETIME flag to create powerups that add their duration to the one of the currently active item of the same type. - fixed: bouncecount wasn't decreased when bouncing on walls. - Added MF5_ALWAYSRESPAWN and MF5_NEVERRESPAWN flags that selectively enable or disable monster respawning regardless of skill setting. - Prettified deprecated flag handling. SVN r780 (trunk)
This commit is contained in:
parent
03617dc6f0
commit
5589f6b7a1
10 changed files with 107 additions and 25 deletions
|
|
@ -1019,7 +1019,7 @@ bool PIT_CheckThing (AActor *thing)
|
|||
{
|
||||
return true;
|
||||
}
|
||||
if (DoRipping)
|
||||
if (DoRipping && !(thing->flags5 & MF5_DONTRIP))
|
||||
{
|
||||
if (LastRipped != thing)
|
||||
{
|
||||
|
|
@ -2475,6 +2475,13 @@ bool P_BounceWall (AActor *mo)
|
|||
return true;
|
||||
}
|
||||
|
||||
// The amount of bounces is limited
|
||||
if (mo->bouncecount>0 && --mo->bouncecount==0)
|
||||
{
|
||||
P_ExplodeMissile(mo, NULL, NULL);
|
||||
return true;
|
||||
}
|
||||
|
||||
side = P_PointOnLineSide (mo->x, mo->y, line);
|
||||
lineangle = R_PointToAngle2 (0, 0, line->dx, line->dy);
|
||||
if (side == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue