mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
fix: load fdbchecksum to verify, even on character selection (world 0) (#1176)
This commit is contained in:
parent
a29253d2f0
commit
7e2747a2d2
@ -262,6 +262,10 @@ int main(int argc, char** argv) {
|
|||||||
Game::zoneManager->Initialize(LWOZONEID(zoneID, instanceID, cloneID));
|
Game::zoneManager->Initialize(LWOZONEID(zoneID, instanceID, cloneID));
|
||||||
g_CloneID = cloneID;
|
g_CloneID = cloneID;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
Game::entityManager->Initialize();
|
||||||
|
}
|
||||||
|
|
||||||
// pre calculate the FDB checksum
|
// pre calculate the FDB checksum
|
||||||
if (Game::config->GetValue("check_fdb") == "1") {
|
if (Game::config->GetValue("check_fdb") == "1") {
|
||||||
std::ifstream fileStream;
|
std::ifstream fileStream;
|
||||||
@ -302,9 +306,6 @@ int main(int argc, char** argv) {
|
|||||||
|
|
||||||
Game::logger->Log("WorldServer", "FDB Checksum calculated as: %s", databaseChecksum.c_str());
|
Game::logger->Log("WorldServer", "FDB Checksum calculated as: %s", databaseChecksum.c_str());
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
Game::entityManager->Initialize();
|
|
||||||
}
|
|
||||||
|
|
||||||
uint32_t currentFrameDelta = highFrameDelta;
|
uint32_t currentFrameDelta = highFrameDelta;
|
||||||
// These values are adjust them selves to the current framerate should it update.
|
// These values are adjust them selves to the current framerate should it update.
|
||||||
|
Loading…
Reference in New Issue
Block a user