mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 15:41:30 +00:00
Fix Crash introduced in last patch
This commit is contained in:
parent
5865948a8b
commit
5eba112b7a
@ -8607,7 +8607,7 @@ void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket *app)
|
||||
}
|
||||
|
||||
// Modern clients don't require pet targeted for item clicks that are ST_Pet
|
||||
if (spells[spell_id].targettype == ST_Pet)
|
||||
if (spell_id > 0 && spells[spell_id].targettype == ST_Pet)
|
||||
target_id = GetPetID();
|
||||
|
||||
Log(Logs::General, Logs::None, "OP ItemVerifyRequest: spell=%i, target=%i, inv=%i", spell_id, target_id, slot_id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user