]> git.jsancho.org Git - lugaru.git/commitdiff
Person::occluded should be an int
authorCôme Chilliet <come@chilliet.eu>
Tue, 29 Nov 2016 09:30:12 +0000 (16:30 +0700)
committerCôme Chilliet <come@chilliet.eu>
Tue, 29 Nov 2016 09:30:12 +0000 (16:30 +0700)
Source/Person.cpp
Source/Person.h

index 421709b1ed90481b8a5f3882c26170a8821deedb..71c0660c2926d45cb9663818af1911277b374384 100644 (file)
@@ -288,6 +288,7 @@ Person::Person() :
     stunned(0),
     surprised(0),
     runninghowlong(0),
+    occluded(0),
     lastoccluded(0),
     laststanding(0),
     escapednum(0),
@@ -302,8 +303,6 @@ Person::Person() :
 
     tempanimation(),
 
-    occluded(0),
-
     jumpclimb(false)
 {
 }
index 9739d39db5a03f48512229713cf7726593926b32..a11f22bdafb074882c302ae2731af931937e773c 100644 (file)
@@ -302,6 +302,7 @@ public:
     float stunned;
     float surprised;
     float runninghowlong;
+    int occluded;
     int lastoccluded;
     int laststanding;
     int escapednum;
@@ -316,8 +317,6 @@ public:
 
     Animation tempanimation;
 
-    float occluded;
-
     bool jumpclimb;
 
     Person();