replace outdated code

This commit is contained in:
wish
2023-03-12 23:36:26 +11:00
parent 6aa075009e
commit a2a4989cda
2 changed files with 1 additions and 49 deletions

View File

@@ -248,11 +248,7 @@ func handleMsgMhfGetGuildScoutList(s *Session, p mhfpacket.MHFPacket) {
bf.WriteUint32(uint32(TimeAdjusted().Unix()))
bf.WriteUint16(0x00) // HR?
bf.WriteUint16(0x00) // GR?
charNameBytes, _ := stringsupport.ConvertUTF8ToShiftJIS(charName)
bf.WriteBytes(charNameBytes)
bf.WriteBytes(make([]byte, 32-len(charNameBytes))) // Fixed length string
bf.WriteBytes(stringsupport.PaddedString(charName, 32, true))
count++
}