mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 00:32:25 +00:00
Remove max spell ID
This commit is contained in:
parent
d0f83de74b
commit
64ba400902
@ -1676,7 +1676,7 @@ bool SharedDatabase::GetCommandSubSettings(std::vector<CommandSubsettingsReposit
|
||||
return true;
|
||||
}
|
||||
|
||||
void SharedDatabase::LoadDamageShieldTypes(SPDat_Spell_Struct* s, int32 max_spell_id)
|
||||
void SharedDatabase::LoadDamageShieldTypes(SPDat_Spell_Struct* s)
|
||||
{
|
||||
const auto& l = DamageshieldtypesRepository::All(*this);
|
||||
|
||||
@ -1970,7 +1970,7 @@ void SharedDatabase::LoadSpells(void *data, int max_spells) {
|
||||
sp[e.id].damage_shield_type = 0;
|
||||
}
|
||||
|
||||
LoadDamageShieldTypes(sp, max_spells);
|
||||
LoadDamageShieldTypes(sp);
|
||||
}
|
||||
|
||||
void SharedDatabase::LoadCharacterInspectMessage(uint32 character_id, InspectMessage_Struct* s)
|
||||
|
||||
@ -173,7 +173,7 @@ public:
|
||||
int GetMaxSpellID();
|
||||
bool LoadSpells(const std::string &prefix, int32 *records, const SPDat_Spell_Struct **sp);
|
||||
void LoadSpells(void *data, int max_spells);
|
||||
void LoadDamageShieldTypes(SPDat_Spell_Struct *s, int32 max_spell_id);
|
||||
void LoadDamageShieldTypes(SPDat_Spell_Struct* s);
|
||||
uint32 GetSharedSpellsCount() { return m_shared_spells_count; }
|
||||
uint32 GetSpellsCount();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user