mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-01 04:53:42 +00:00
[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:
@@ -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)
|
||||
*/
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user