mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 06:57:28 +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;
|
uint8_t length;
|
||||||
BinaryIO::BinaryRead(file, length);
|
BinaryIO::BinaryRead(file, length);
|
||||||
sceneTrans.name = BinaryIO::ReadString(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?
|
//BR<42>THER MAY I HAVE SOME L<><4C>PS?
|
||||||
|
@ -30,6 +30,7 @@ struct SceneTransitionInfo {
|
|||||||
struct SceneTransition {
|
struct SceneTransition {
|
||||||
std::string name;
|
std::string name;
|
||||||
std::vector<SceneTransitionInfo> points;
|
std::vector<SceneTransitionInfo> points;
|
||||||
|
float width;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct MovingPlatformPathWaypoint {
|
struct MovingPlatformPathWaypoint {
|
||||||
|
Loading…
Reference in New Issue
Block a user