- 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:
Christoph Oelckers 2008-03-01 16:59:17 +00:00
commit 5589f6b7a1
10 changed files with 107 additions and 25 deletions

View file

@ -1915,9 +1915,9 @@ void A_CountdownArg(AActor * self)
{
int index=CheckIndex(1);
if (index<0) return;
index = EvalExpressionI (StateParameters[index], self);
index = EvalExpressionI (StateParameters[index], self) - 1;
if (index<=0 || index>5) return;
if (index<0 || index>=5) return;
if (!self->args[index]--)
{
if (self->flags&MF_MISSILE)