mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Initialised some data in Mob/Merc constructors to stop valgrind complaining.
This commit is contained in:
+1
-1
@@ -274,7 +274,7 @@ Mob::Mob(const char* in_name,
|
||||
|
||||
memset(&itembonuses, 0, sizeof(StatBonuses));
|
||||
memset(&spellbonuses, 0, sizeof(StatBonuses));
|
||||
//memset(&aabonuses, 0, sizeof(StatBonuses)); //don't need this until we start using Client::CalcAABonuses()
|
||||
memset(&aabonuses, 0, sizeof(StatBonuses));
|
||||
spellbonuses.AggroRange = -1;
|
||||
spellbonuses.AssistRange = -1;
|
||||
pLastChange = 0;
|
||||
|
||||
Reference in New Issue
Block a user