change Airou struct definition & remove airoulist.bin

This commit is contained in:
wish
2023-10-12 23:27:54 +11:00
parent 0de15e8440
commit 94f9174afa
2 changed files with 21 additions and 35 deletions

View File

@@ -92,8 +92,8 @@ func handleMsgMhfRegistGuildTresure(s *Session, p mhfpacket.MHFPacket) {
if catID > 0 {
catsUsed = stringsupport.CSVAdd(catsUsed, int(catID))
for _, cat := range guildCats {
if cat.CatID == catID {
huntData.WriteBytes(cat.CatName)
if cat.ID == catID {
huntData.WriteBytes(cat.Name)
break
}
}