mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Updates comment explaining changed code.
This commit is contained in:
parent
40d3802c3f
commit
2c2c48ff23
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ void EnTk_Dig(EnTk* this, GlobalContext* globalCtx) {
|
||||||
*/
|
*/
|
||||||
// If vanilla itemGetInf flag is not set, it's impossible for the new flag to be set, so return true.
|
// If vanilla itemGetInf flag is not set, it's impossible for the new flag to be set, so return true.
|
||||||
// Otherwise if the gGravediggingTourFix is enabled and the new flag hasn't been set, return true.
|
// Otherwise if the gGravediggingTourFix is enabled and the new flag hasn't been set, return true.
|
||||||
// If true, spawn the heart piece isntead of the purple rupee and set the vanilla itemGetInf flag.
|
// If true, spawn the heart piece and set the vanilla itemGetInf flag and new temp clear flag.
|
||||||
if (!Flags_GetTempClear(globalCtx, TEMPCLEARFLAG_GRAVEDIGGING_HEART_PIECE) &&
|
if (!Flags_GetTempClear(globalCtx, TEMPCLEARFLAG_GRAVEDIGGING_HEART_PIECE) &&
|
||||||
(!(gSaveContext.itemGetInf[1] & ITEMGETINFFLAG_GRAVEDIGGING_HEART_PIECE) ||
|
(!(gSaveContext.itemGetInf[1] & ITEMGETINFFLAG_GRAVEDIGGING_HEART_PIECE) ||
|
||||||
CVar_GetS32("gGravediggingTourFix", 0) &&
|
CVar_GetS32("gGravediggingTourFix", 0) &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue