mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-26 10:08:51 -05:00
Moves setting of getItemId into a rando save if block.
This commit is contained in:
parent
95918e0cb2
commit
6f7b38539b
@ -108,13 +108,13 @@ void func_80AFB768(EnSi* this, GlobalContext* globalCtx) {
|
||||
giveItemId = sGetItemTable[getItemId - 1].itemId;
|
||||
Item_Give(globalCtx, giveItemId);
|
||||
}
|
||||
player->getItemId = getItemId;
|
||||
} else {
|
||||
Item_Give(globalCtx, giveItemId);
|
||||
}
|
||||
if ((CVar_GetS32("gSkulltulaFreeze", 0) != 1 || giveItemId != ITEM_SKULL_TOKEN) && getItemId != GI_ICE_TRAP) {
|
||||
player->actor.freezeTimer = 20;
|
||||
}
|
||||
player->getItemId = getItemId;
|
||||
Message_StartTextbox(globalCtx, textId, NULL);
|
||||
|
||||
if (gSaveContext.n64ddFlag) {
|
||||
|
Loading…
Reference in New Issue
Block a user