mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 05:40:44 +00:00
- fixed: P_CheckSplash shifted the fixed_t distance another 16 bits to the left.
This commit is contained in:
parent
c7c2beee2c
commit
4116719a5a
1 changed files with 1 additions and 1 deletions
|
@ -5796,7 +5796,7 @@ void P_CheckSplash(AActor *self, fixed_t distance)
|
||||||
{
|
{
|
||||||
sector_t *floorsec;
|
sector_t *floorsec;
|
||||||
self->Sector->LowestFloorAt(self, &floorsec);
|
self->Sector->LowestFloorAt(self, &floorsec);
|
||||||
if (self->Z() <= self->floorz + (distance<<FRACBITS) && self->floorsector == floorsec && self->Sector->GetHeightSec() == NULL && floorsec->heightsec == NULL)
|
if (self->Z() <= self->floorz + distance && self->floorsector == floorsec && self->Sector->GetHeightSec() == NULL && floorsec->heightsec == NULL)
|
||||||
{
|
{
|
||||||
// Explosion splashes never alert monsters. This is because A_Explode has
|
// Explosion splashes never alert monsters. This is because A_Explode has
|
||||||
// a separate parameter for that so this would get in the way of proper
|
// a separate parameter for that so this would get in the way of proper
|
||||||
|
|
Loading…
Reference in a new issue