Merge branch 'floatcvt' of https://github.com/rheit/zdoom into floatcvt
# Conflicts: # src/r_defs.h
This commit is contained in:
commit
eee5143b26
44 changed files with 405 additions and 383 deletions
|
|
@ -2232,7 +2232,7 @@ void DPusher::Tick ()
|
|||
sector_t *sec;
|
||||
AActor *thing;
|
||||
msecnode_t *node;
|
||||
int ht;
|
||||
double ht;
|
||||
|
||||
if (!var_pushers)
|
||||
return;
|
||||
|
|
@ -2334,8 +2334,8 @@ void DPusher::Tick ()
|
|||
}
|
||||
else // special water sector
|
||||
{
|
||||
ht = hsec->floorplane.ZatPoint(pos);
|
||||
if (thing->_f_Z() > ht) // above ground
|
||||
ht = hsec->floorplane.ZatPointF(pos);
|
||||
if (thing->Z() > ht) // above ground
|
||||
{
|
||||
pushvel = m_PushVec; // full force
|
||||
}
|
||||
|
|
@ -2361,7 +2361,7 @@ void DPusher::Tick ()
|
|||
{ // special water sector
|
||||
floor = &hsec->floorplane;
|
||||
}
|
||||
if (thing->_f_Z() > floor->ZatPoint(pos))
|
||||
if (thing->Z() > floor->ZatPointF(pos))
|
||||
{ // above ground
|
||||
pushvel.Zero(); // no force
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue