mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-26 08:34:20 +00:00
fix: revert v33 scene field renames to unknown1/unknown2
These fields are skipped by the client in every known build (ptr += 12 and ptr += 4). No client ever reads them into a struct. Keep the original unknown1/unknown2 names from main. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -290,8 +290,8 @@ void Zone::LoadScene(std::istream& file) {
|
||||
}
|
||||
|
||||
if (m_FileFormatVersion == Zone::FileFormatVersion::LatePreAlpha) {
|
||||
BinaryIO::BinaryRead(file, scene.scenePosition);
|
||||
BinaryIO::BinaryRead(file, scene.sceneRadius);
|
||||
BinaryIO::BinaryRead(file, scene.unknown1);
|
||||
BinaryIO::BinaryRead(file, scene.unknown2);
|
||||
}
|
||||
|
||||
if (m_FileFormatVersion >= Zone::FileFormatVersion::LatePreAlpha) {
|
||||
|
||||
@@ -33,8 +33,8 @@ struct SceneRef {
|
||||
uint32_t id{};
|
||||
eSceneType sceneType{};
|
||||
std::string name;
|
||||
NiPoint3 scenePosition; // version 33 only: editor bounding sphere center
|
||||
float sceneRadius{}; // version 33 only: editor bounding sphere radius
|
||||
NiPoint3 unknown1;
|
||||
float unknown2{};
|
||||
NiColor color;
|
||||
std::unique_ptr<Level> level;
|
||||
std::map<uint32_t, LUTriggers::Trigger*> triggers;
|
||||
|
||||
Reference in New Issue
Block a user