mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Fix for client not scribing spells (thanks Secrets!)
This commit is contained in:
parent
036e4739ae
commit
c8645475b9
@ -2642,7 +2642,7 @@ bool Client::CheckAccess(int16 iDBLevel, int16 iDefaultLevel) {
|
|||||||
void Client::MemorizeSpell(uint32 slot,uint32 spellid,uint32 scribing){
|
void Client::MemorizeSpell(uint32 slot,uint32 spellid,uint32 scribing){
|
||||||
if (slot < 0 || slot >= EQEmu::spells::DynamicLookup(ClientVersion(), GetGM())->SpellbookSize)
|
if (slot < 0 || slot >= EQEmu::spells::DynamicLookup(ClientVersion(), GetGM())->SpellbookSize)
|
||||||
return;
|
return;
|
||||||
if (spellid < 3 || spellid > EQEmu::spells::DynamicLookup(ClientVersion(), GetGM())->SpellIdMax)
|
if ((spellid < 3 || spellid > EQEmu::spells::DynamicLookup(ClientVersion(), GetGM())->SpellIdMax) && spellid != 0xFFFFFFFF)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto outapp = new EQApplicationPacket(OP_MemorizeSpell, sizeof(MemorizeSpell_Struct));
|
auto outapp = new EQApplicationPacket(OP_MemorizeSpell, sizeof(MemorizeSpell_Struct));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user