DECLARE_ANIM(staffhitreversalanim, "StaffHitCatch", middleheight, reversal, 0)
DECLARE_ANIM(staffspinhitreversedanim, "SpinWhackCaught", middleheight, reversed, 0)
DECLARE_ANIM(staffspinhitreversalanim, "SpinWhackCatch", middleheight, reversal, 0)
-DECLARE_ANIM(sitanim, "Sit", lowheight, neutral, ab_idle)
+DECLARE_ANIM(sitanim, "Sit", lowheight, neutral, ab_idle | ab_sit)
DECLARE_ANIM(sleepanim, "Sleep", lowheight, neutral, ab_idle)
DECLARE_ANIM(talkidleanim, "TalkIdle", middleheight, neutral, ab_idle)
-DECLARE_ANIM(sitwallanim, "Dying", lowheight, neutral, 0)
+DECLARE_ANIM(sitwallanim, "Dying", lowheight, neutral, ab_sit)
DECLARE_ANIM(dead1anim, "Dead1", lowheight, neutral, 0)
DECLARE_ANIM(dead2anim, "Dead2", lowheight, neutral, 0)
DECLARE_ANIM(dead3anim, "Dead3", lowheight, neutral, 0)
onfire=1;
}
-bool Person::isSitting(){
- if(targetanimation==sitanim)return 1;
- if(targetanimation==sitwallanim)return 1;
- else return 0;
-}
-
bool Person::isSleeping(){
if(targetanimation==sleepanim)return 1;
if(targetanimation==dead1anim)return 1;