Fixed fullness < 0 issue that made belly dissapear.

This commit is contained in:
AlManiak
2024-09-20 12:55:21 +02:00
parent 1ab226fb27
commit c809b64a11
2 changed files with 2 additions and 2 deletions
@@ -101,7 +101,7 @@
var/used_icon_location = icon_location
switch(H.fullness)
if(0 to FULLNESS_LEVEL_BLOATED) // Normal
if(-100 to FULLNESS_LEVEL_BLOATED) // Normal
size = G.size
if(FULLNESS_LEVEL_BLOATED to FULLNESS_LEVEL_BEEG) // Take the stuffed sprite of the same size
size = G.size
@@ -482,7 +482,7 @@
// Change belly sprite and size based on current fullness
switch(H.fullness)
if(0 to FULLNESS_LEVEL_BLOATED)
if(-100 to FULLNESS_LEVEL_BLOATED)
genital_overlay.icon = 'hyperstation/icons/obj/genitals/belly.dmi'
if(FULLNESS_LEVEL_BLOATED to FULLNESS_LEVEL_BEEG)
genital_overlay.icon = 'hyperstation/icons/obj/genitals/belly_stuffed.dmi'