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

- Update GetSpellName() to uint16.
- Add more classes to GetClassIDName().
This commit is contained in:
Alex
2020-12-30 15:47:27 -05:00
committed by GitHub
parent c593ed6a05
commit 51a74c23ef
4 changed files with 17 additions and 2 deletions
+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;
}