mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Sets collectibleFlag whether cvar is on or not to prevent duping.
This commit is contained in:
parent
fdcb59e9af
commit
8f30423a55
1 changed files with 1 additions and 3 deletions
|
@ -624,9 +624,7 @@ void EnTk_Dig(EnTk* this, GlobalContext* globalCtx) {
|
||||||
|
|
||||||
EnItem00* reward = Item_DropCollectible(globalCtx, &rewardPos, rewardParams[this->currentReward]);
|
EnItem00* reward = Item_DropCollectible(globalCtx, &rewardPos, rewardParams[this->currentReward]);
|
||||||
if (this->currentReward == 4) {
|
if (this->currentReward == 4) {
|
||||||
if (CVar_GetS32("gGravediggingTourFix", 0) != 0) {
|
reward->collectibleFlag = 0x19;
|
||||||
reward->collectibleFlag = 0x19;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue