Update dZoneManager/Zone.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Aaron Kimbrell
2026-03-31 03:34:22 -05:00
committed by GitHub
parent b50e9d9339
commit aea9009281

View File

@@ -97,7 +97,6 @@ void Zone::LoadZoneIntoMemory() {
throw std::runtime_error("Aborting Zone loading due to no Zone Raw File."); throw std::runtime_error("Aborting Zone loading due to no Zone Raw File.");
} }
if (m_FileFormatVersion >= Zone::FileFormatVersion::PrePreAlpha) {
auto rawFile = Game::assetManager->GetFile(zoneFolderPath + m_ZoneRawPath); auto rawFile = Game::assetManager->GetFile(zoneFolderPath + m_ZoneRawPath);
if (!Raw::ReadRaw(rawFile, m_Raw)) { if (!Raw::ReadRaw(rawFile, m_Raw)) {
LOG("Failed to parse %s", (zoneFolderPath + m_ZoneRawPath).c_str()); LOG("Failed to parse %s", (zoneFolderPath + m_ZoneRawPath).c_str());
@@ -119,9 +118,6 @@ void Zone::LoadZoneIntoMemory() {
LOG("Exported terrain mesh to %s", objFileName.c_str()); LOG("Exported terrain mesh to %s", objFileName.c_str());
} }
} }
} else {
LOG("Zone %s is too old to have Raw data, please update the map", m_ZoneFilePath.c_str());
}
if (m_FileFormatVersion >= Zone::FileFormatVersion::PreAlpha) { if (m_FileFormatVersion >= Zone::FileFormatVersion::PreAlpha) {
BinaryIO::BinaryRead(file, m_NumberOfSceneTransitionsLoaded); BinaryIO::BinaryRead(file, m_NumberOfSceneTransitionsLoaded);