mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-09 09:48:20 +00:00
fix: read and store the zone transition width properly (#1169)
This commit is contained in:
parent
304af7922a
commit
e299bf9b62
@ -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?
|
||||
|
@ -30,6 +30,7 @@ struct SceneTransitionInfo {
|
||||
struct SceneTransition {
|
||||
std::string name;
|
||||
std::vector<SceneTransitionInfo> points;
|
||||
float width;
|
||||
};
|
||||
|
||||
struct MovingPlatformPathWaypoint {
|
||||
|
Loading…
Reference in New Issue
Block a user