Fixed platformer object slope max angle not loaded properly.

This commit is contained in:
Florian Rival
2014-10-09 15:04:54 +02:00
parent 4cf0701670
commit 2ad06306de

View File

@@ -536,7 +536,7 @@ void PlatformerObjectAutomatism::UnserializeFrom(const gd::SerializerElement & e
maxSpeed = element.GetDoubleAttribute("maxSpeed");
jumpSpeed = element.GetDoubleAttribute("jumpSpeed");
ignoreDefaultControls = element.GetBoolAttribute("ignoreDefaultControls");
slopeMaxAngle = element.GetDoubleAttribute("slopeMaxAngle");
SetSlopeMaxAngle(element.GetDoubleAttribute("slopeMaxAngle"));
}
#if defined(GD_IDE_ONLY)