[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)
*/
*/

View File

@@ -93,7 +93,7 @@
if(steps % 2)
return
if(steps != 0 && !has_gravity(source)) // don't need to step as often when you hop around
if(steps != 0 && !get_gravity(source)) // don't need to step as often when you hop around
return
. = list(

View File

@@ -86,7 +86,7 @@
if(source.buckled || source.lying || source.throwing || source.is_incorporeal())
return
if(!has_gravity(source) && prob(75))
if(!get_gravity(source) && prob(75))
return
playsound(source.loc, S, volume, FALSE, preference = /datum/preference/toggle/digestion_noises)