Compile fixes and some debugging messages in find path code.

This commit is contained in:
KimLS
2017-08-19 12:49:06 -07:00
parent ffbee0ad1a
commit 563878f20e
7 changed files with 106 additions and 44 deletions
+4 -2
View File
@@ -542,8 +542,10 @@ int main(int argc, char** argv) {
process_timer.Stop();
process_timer.Start(1000, true);
uint32 shutdown_timer = database.getZoneShutDownDelay(zone->GetZoneID(), zone->GetInstanceVersion());
zone->StartShutdownTimer(shutdown_timer);
if (zone) {
uint32 shutdown_timer = database.getZoneShutDownDelay(zone->GetZoneID(), zone->GetInstanceVersion());
zone->StartShutdownTimer(shutdown_timer);
}
}
else if (!previous_loaded && current_loaded) {
process_timer.Stop();