- Added MF6_FORCEPAIN flag that forces the target to go into the pain state
regardless of pain chance. - Changed screenblocks CVAR to be settable per game. - Added SpawnSpotForced and SpawnSpotFacingForced ACS functions. - Added pushfactor actor property. SVN r1638 (trunk)
This commit is contained in:
parent
8c3a816428
commit
d30e304a7f
10 changed files with 48 additions and 18 deletions
|
|
@ -1037,8 +1037,8 @@ bool PIT_CheckThing (AActor *thing, FCheckPosition &tm)
|
|||
if (thing->flags2 & MF2_PUSHABLE && !(tm.thing->flags2 & MF2_CANNOTPUSH) &&
|
||||
(tm.thing->player == NULL || !(tm.thing->player->cheats & CF_PREDICTING)))
|
||||
{ // Push thing
|
||||
thing->momx += tm.thing->momx >> 2;
|
||||
thing->momy += tm.thing->momy >> 2;
|
||||
thing->momx += FixedMul(tm.thing->momx, thing->pushfactor);
|
||||
thing->momy += FixedMul(tm.thing->momy, thing->pushfactor);
|
||||
}
|
||||
solid = (thing->flags & MF_SOLID) &&
|
||||
!(thing->flags & MF_NOCLIP) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue