Revert dZoneManager Initialization order (#717)

This commit is contained in:
David Markowitz 2022-08-05 19:20:11 -07:00 committed by GitHub
parent d626ac1ed4
commit ea86988521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,9 +233,9 @@ int main(int argc, char** argv) {
//Load our level:
if (zoneID != 0) {
dZoneManager::Instance()->Initialize(LWOZONEID(zoneID, instanceID, cloneID));
dpWorld::Instance().Initialize(zoneID);
Game::physicsWorld = &dpWorld::Instance(); //just in case some old code references it
dZoneManager::Instance()->Initialize(LWOZONEID(zoneID, instanceID, cloneID));
g_CloneID = cloneID;
// pre calculate the FDB checksum