mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Bots] Fix crash related to GetTempSpellType() (#4649)
_tempSpellType was not getting defined during bot spawn process which could lead to a potential crash in RaidGroupSay. Auto archery toggle was what triggered the crash as it announces their status on spawn. Also moved this toggle for Rangers further down the proccess line.
This commit is contained in:
+1
-1
@@ -1218,7 +1218,7 @@ private:
|
||||
std::vector<Mob*> _group_spell_target_list;
|
||||
Raid* _storedRaid;
|
||||
bool _verifiedRaid;
|
||||
uint16 _tempSpellType;
|
||||
uint16 _tempSpellType; // this is used to check the spell type being cast against ^spellannouncecasts status
|
||||
|
||||
// Private "base stats" Members
|
||||
int32 _baseMR;
|
||||
|
||||
Reference in New Issue
Block a user