mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 10:28:23 +00:00
Remove max spell ID
This commit is contained in:
+2
-2
@@ -1676,7 +1676,7 @@ bool SharedDatabase::GetCommandSubSettings(std::vector<CommandSubsettingsReposit
|
|||||||
return true;
|
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);
|
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;
|
sp[e.id].damage_shield_type = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadDamageShieldTypes(sp, max_spells);
|
LoadDamageShieldTypes(sp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SharedDatabase::LoadCharacterInspectMessage(uint32 character_id, InspectMessage_Struct* s)
|
void SharedDatabase::LoadCharacterInspectMessage(uint32 character_id, InspectMessage_Struct* s)
|
||||||
|
|||||||
+1
-1
@@ -173,7 +173,7 @@ public:
|
|||||||
int GetMaxSpellID();
|
int GetMaxSpellID();
|
||||||
bool LoadSpells(const std::string &prefix, int32 *records, const SPDat_Spell_Struct **sp);
|
bool LoadSpells(const std::string &prefix, int32 *records, const SPDat_Spell_Struct **sp);
|
||||||
void LoadSpells(void *data, int max_spells);
|
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 GetSharedSpellsCount() { return m_shared_spells_count; }
|
||||||
uint32 GetSpellsCount();
|
uint32 GetSpellsCount();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user