[MIRROR] Fixes space drift, renames has_gravity() (#9154)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 15:30:54 -07:00
committed by GitHub
parent 18e8928f96
commit f1949d0bd5
26 changed files with 50 additions and 50 deletions

View File

@@ -120,9 +120,9 @@
if(I.item_flags & ABSTRACT)
return
//Annoyingly, our flight code doesn't set the movement_type, nor do we have a define for it. So I'm not adding it yet.
//if(arrived.movement_type & (FLYING|FLOATING) || !arrived.has_gravity())
//if(arrived.movement_type & (FLYING|FLOATING) || !arrived.get_gravity())
*/
if(!arrived.has_gravity())
if(!arrived.get_gravity())
return
if(ismob(arrived) && !arrived.density) // Prevents 10 overlapping mice from making an unholy sound while moving
return
@@ -177,4 +177,4 @@
SIGNAL_HANDLER
qdel(src)
*/
*/