mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 21:40:05 +00:00
Fix IZ races rewarding invalid items
This commit is contained in:
parent
82d5455da6
commit
7fe0e19bb0
@ -151,8 +151,9 @@ void RacingManager::racingEnd(CNSocket* sock, CNPacketData* data) {
|
|||||||
reward.eIL = 1;
|
reward.eIL = 1;
|
||||||
sItemBase item;
|
sItemBase item;
|
||||||
item.iID = rankRewards->at(rank); // rank scores and rewards line up
|
item.iID = rankRewards->at(rank); // rank scores and rewards line up
|
||||||
item.iType = 0;
|
item.iType = 9;
|
||||||
item.iOpt = 1;
|
item.iOpt = 1;
|
||||||
|
item.iTimeLimit = 0;
|
||||||
reward.sItem = item;
|
reward.sItem = item;
|
||||||
|
|
||||||
if (reward.iSlotNum > -1 && reward.sItem.iID != 0) {
|
if (reward.iSlotNum > -1 && reward.sItem.iID != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user