Merge branch 'master' of c:\Programming\Doom-Dev\zdoom_\ into zscript
This commit is contained in:
commit
b0ddba2240
8 changed files with 155 additions and 275 deletions
|
|
@ -1267,7 +1267,7 @@ bool PIT_CheckThing(FMultiBlockThingsIterator &it, FMultiBlockThingsIterator::Ch
|
|||
{
|
||||
// ideally this should take the mass factor into account
|
||||
thing->Vel += tm.thing->Vel.XY();
|
||||
if ((thing->Vel.X + thing->Vel.Y) > 3.)
|
||||
if (fabs(thing->Vel.X) + fabs(thing->Vel.Y) > 3.)
|
||||
{
|
||||
int newdam;
|
||||
damage = (tm.thing->Mass / 100) + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue