Fixes being able to lie down while buckled in movable chairs

This commit is contained in:
Hubblenaut
2014-09-16 21:53:19 +02:00
parent 1217dd6ff9
commit da08ce2410

View File

@@ -753,6 +753,10 @@ note dizziness decrements automatically in the mob's Life() proc.
lying = 0
else
lying = 1
else if (buckled && (buckled.movable))
anchored = 0
canmove = 1
lying = 0
else if( stat || weakened || paralysis || resting || sleeping || (status_flags & FAKEDEATH))
lying = 1
canmove = 0