quest::getspellname() and quest::getclassname() fixes/additions. (#1158)

- Update GetSpellName() to uint16.
- Add more classes to GetClassIDName().
This commit is contained in:
Alex authored and GitHub committed 2020-12-30 14:47:27 -06:00
1 parent c593ed6a05
commit 51a74c23ef
4 files changed
+17 -2

No files matched your search

+1 -1
View File
@@ -1271,7 +1271,7 @@ bool IsSpellUsableThisZoneType(uint16 spell_id, uint8 zone_type)
return false;
}
const char* GetSpellName(int16 spell_id)
const char* GetSpellName(uint16 spell_id)
{
return spells[spell_id].name;
}