refactor: Moved quest duration variables to uint8

This commit is contained in:
Matthew
2023-11-19 13:44:11 -05:00
parent 3778d03402
commit 6bd2b637a7

View File

@@ -218,8 +218,8 @@ func handleMsgMhfEnumerateQuest(s *Session, p mhfpacket.MHFPacket) {
for rows.Next() { for rows.Next() {
var id, mark uint32 var id, mark uint32
var questId, activeDuration, inactiveDuration int var questId int
var maxPlayers, questType uint8 var maxPlayers, questType, activeDuration, inactiveDuration uint8
var startTime time.Time var startTime time.Time
err := rows.Scan(&id, &maxPlayers, &questType, &questId, &mark, &startTime, &activeDuration, &inactiveDuration) err := rows.Scan(&id, &maxPlayers, &questType, &questId, &mark, &startTime, &activeDuration, &inactiveDuration)