From 7fe0e19bb077589594e3092220f4dddd6c395ffe Mon Sep 17 00:00:00 2001 From: Gent S Date: Wed, 23 Dec 2020 18:18:33 -0500 Subject: [PATCH] Fix IZ races rewarding invalid items --- src/RacingManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/RacingManager.cpp b/src/RacingManager.cpp index d16e47d..8387efa 100644 --- a/src/RacingManager.cpp +++ b/src/RacingManager.cpp @@ -151,8 +151,9 @@ void RacingManager::racingEnd(CNSocket* sock, CNPacketData* data) { reward.eIL = 1; sItemBase item; item.iID = rankRewards->at(rank); // rank scores and rewards line up - item.iType = 0; + item.iType = 9; item.iOpt = 1; + item.iTimeLimit = 0; reward.sItem = item; if (reward.iSlotNum > -1 && reward.sItem.iID != 0) {