mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-17 23:15:11 -05:00
Fixed ice traps (maybe actually this time)
This commit is contained in:
parent
2c5bdbfd4b
commit
37134cbc9a
@ -137,7 +137,8 @@ void func_80AFB89C(EnSi* this, GlobalContext* globalCtx) {
|
|||||||
if (gSaveContext.n64ddFlag) {
|
if (gSaveContext.n64ddFlag) {
|
||||||
getItemId = Randomizer_GetRandomizedItemId(GI_SKULL_TOKEN, this->actor.id, this->actor.params, globalCtx->sceneNum);
|
getItemId = Randomizer_GetRandomizedItemId(GI_SKULL_TOKEN, this->actor.id, this->actor.params, globalCtx->sceneNum);
|
||||||
if (getItemId == GI_ICE_TRAP) {
|
if (getItemId == GI_ICE_TRAP) {
|
||||||
GiveItemWithoutActor(globalCtx, GI_ICE_TRAP);
|
player->getItemId = GI_ICE_TRAP;
|
||||||
|
player->iceTrapped = 1;
|
||||||
textId = 0xF8;
|
textId = 0xF8;
|
||||||
} else {
|
} else {
|
||||||
textId = sGetItemTable[getItemId - 1].textId;
|
textId = sGetItemTable[getItemId - 1].textId;
|
||||||
|
Loading…
Reference in New Issue
Block a user