Fixes mobs floating on holes. (#15656)

This commit is contained in:
Matt Atlas
2023-01-26 13:00:06 +01:00
committed by GitHub
parent 14e747f5a2
commit b5bff36a2c
2 changed files with 48 additions and 0 deletions

View File

@@ -96,6 +96,13 @@ note dizziness decrements automatically in the mob's Life() proc.
if(shoegrip)
set_floating(FALSE)
return
else
if(CanAvoidGravity())
set_floating(TRUE)
return
else
set_floating(FALSE)
return
set_floating(TRUE)