From 949e7adff8893c7fd4945c2d6f8ff820d6b87dc6 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Thu, 11 Jul 2019 01:23:55 -0500 Subject: [PATCH] init vars [skip ci] --- loginserver/main.cpp | 2 +- zone/mob.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/loginserver/main.cpp b/loginserver/main.cpp index ab5ad699e..76a4390cf 100644 --- a/loginserver/main.cpp +++ b/loginserver/main.cpp @@ -61,7 +61,7 @@ int main(int argc, char** argv) server.options.DumpOutPackets(server.config.GetVariableBool("general", "dump_packets_out", false)); server.options.RejectDuplicateServers(server.config.GetVariableBool("general", "reject_duplicate_servers", false)); server.options.AutoCreateAccounts(server.config.GetVariableBool("general", "auto_create_accounts", true)); - server.options.AutoLinkAccounts(server.config.GetVariableBool("general", "auto_link_accounts", true)); + server.options.AutoLinkAccounts(server.config.GetVariableBool("general", "auto_link_accounts", false)); #ifdef LSPX server.options.EQEmuLoginServerAddress( diff --git a/zone/mob.h b/zone/mob.h index ea71017c7..71c58ec6e 100644 --- a/zone/mob.h +++ b/zone/mob.h @@ -1467,8 +1467,8 @@ protected: eStandingPetOrder pStandingPetOrder; uint32 minLastFightingDelayMoving; uint32 maxLastFightingDelayMoving; - float pAggroRange; - float pAssistRange; + float pAggroRange = 0; + float pAssistRange = 0; std::unique_ptr AI_think_timer; std::unique_ptr AI_movement_timer; std::unique_ptr AI_target_check_timer;