diff --git a/dZoneManager/Zone.cpp b/dZoneManager/Zone.cpp index 7343bb59..6b153706 100644 --- a/dZoneManager/Zone.cpp +++ b/dZoneManager/Zone.cpp @@ -349,7 +349,7 @@ void Zone::LoadSceneTransition(std::istream& file) { uint8_t length; BinaryIO::BinaryRead(file, length); sceneTrans.name = BinaryIO::ReadString(file, length); - file.ignore(4); + BinaryIO::BinaryRead(file, sceneTrans.width); } //BR�THER MAY I HAVE SOME L��PS? diff --git a/dZoneManager/Zone.h b/dZoneManager/Zone.h index 9c5322a1..b3e72036 100644 --- a/dZoneManager/Zone.h +++ b/dZoneManager/Zone.h @@ -30,6 +30,7 @@ struct SceneTransitionInfo { struct SceneTransition { std::string name; std::vector points; + float width; }; struct MovingPlatformPathWaypoint {