X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FPerson.h;h=e036f884925199ebb57583b0470c7fdced4a620a;hb=fcdac6a36d47d719a12f3db7a7f0a0ae59e47ef7;hp=10f6ab2808d96779aac7119e180fc870109957b0;hpb=fedce5619a42a2ac4f55c6dab16470970ce36cbb;p=lugaru.git diff --git a/Source/Person.h b/Source/Person.h index 10f6ab2..e036f88 100644 --- a/Source/Person.h +++ b/Source/Person.h @@ -333,7 +333,10 @@ class Person } int getIdle(); - bool isSitting(); + bool isSitting() + { + return animation_bits[targetanimation] & ab_sit; + } bool isSleeping();