lying down now isnt random

This commit is contained in:
Detective Google
2020-06-25 19:39:37 -05:00
parent 549fee0624
commit ea5b155057

View File

@@ -96,7 +96,14 @@
mobility_flags &= ~MOBILITY_STAND
setMovetype(movement_type | CRAWLING)
if(!lying) //force them on the ground
lying = pick(90, 270)
if(src.dir == 1)
lying = pick(90, 270)
if(src.dir == 2)
lying = pick(90, 270)
if(src.dir == 4)
lying = 90
if(src.dir == 8)
lying = 270
if(has_gravity() && !buckled)
playsound(src, "bodyfall", 20, 1)
else