]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Person.h
Simplify sleep animations
[lugaru.git] / Source / Person.h
index e036f884925199ebb57583b0470c7fdced4a620a..1749a565791c561d4936c3940edb3d178feb62d8 100644 (file)
@@ -337,8 +337,11 @@ class Person
                {
                  return animation_bits[targetanimation] & ab_sit;
                }
-               bool isSleeping();
-               
+
+               bool isSleeping()
+               {
+                 return animation_bits[targetanimation] & ab_sleep;
+               }
                
                bool wasCrouch();
                bool isCrouch();