summary refs log tree commit diff
path: root/src/Skeleton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Skeleton.cpp')
-rw-r--r--src/Skeleton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Skeleton.cpp b/src/Skeleton.cpp
index ba27aa4..6aa3508 100644
--- a/src/Skeleton.cpp
+++ b/src/Skeleton.cpp
@@ -1,6 +1,6 @@
 /**> HEADER FILES <**/
+#include "Camera.h"
 #include "Skeleton.h"
-#include "Serialize.h"
 #include "misc.h"
 
 extern float multiplier;
@@ -133,7 +133,7 @@ void Skeleton::DoConstraints(Model *collide, XYZ *move, float rotation)
 					joints[i].velocity.z *= 0.3;
 				}
 
-				offset = 0.2;
+				offset = true;
 				if (whichtri != -1
 				    && collide->normals[whichtri].y <= 0.8) {
 					normalrotated = DoRotation(collide->normals[whichtri], 0, rotation, 0);