mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-09 00:52:24 +00:00
Fix invalid read in con
This commit is contained in:
parent
a5a660b828
commit
aff481bd37
@ -4833,7 +4833,6 @@ void Client::Handle_OP_Consider(const EQApplicationPacket *app)
|
|||||||
mod_consider(tmob, con);
|
mod_consider(tmob, con);
|
||||||
|
|
||||||
QueuePacket(outapp);
|
QueuePacket(outapp);
|
||||||
safe_delete(outapp);
|
|
||||||
// only wanted to check raid target once
|
// only wanted to check raid target once
|
||||||
// and need con to still be around so, do it here!
|
// and need con to still be around so, do it here!
|
||||||
if (tmob->IsRaidTarget()) {
|
if (tmob->IsRaidTarget()) {
|
||||||
@ -4880,6 +4879,8 @@ void Client::Handle_OP_Consider(const EQApplicationPacket *app)
|
|||||||
else if ((invisible || invisible_undead || hidden || invisible_animals) && !IsInvisible(tmob))
|
else if ((invisible || invisible_undead || hidden || invisible_animals) && !IsInvisible(tmob))
|
||||||
Message_StringID(10, SUSPECT_SEES_YOU);
|
Message_StringID(10, SUSPECT_SEES_YOU);
|
||||||
|
|
||||||
|
safe_delete(outapp);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user