fix: read and store the zone transition width properly (#1169)

This commit is contained in:
Aaron Kimbrell 2023-07-31 01:49:43 -05:00 committed by GitHub
parent 304af7922a
commit e299bf9b62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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<42>THER MAY I HAVE SOME L<><4C>PS?

View File

@ -30,6 +30,7 @@ struct SceneTransitionInfo {
struct SceneTransition {
std::string name;
std::vector<SceneTransitionInfo> points;
float width;
};
struct MovingPlatformPathWaypoint {