mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-16 14:35:06 -05:00
Merge pull request #1111 from leggettc18/rando-skull-message-fix
Fixes skulltula messages for custom items.
This commit is contained in:
commit
1aeefa3c7e
@ -108,6 +108,7 @@ void func_80AFB768(EnSi* this, GlobalContext* globalCtx) {
|
|||||||
giveItemId = sGetItemTable[getItemId - 1].itemId;
|
giveItemId = sGetItemTable[getItemId - 1].itemId;
|
||||||
Item_Give(globalCtx, giveItemId);
|
Item_Give(globalCtx, giveItemId);
|
||||||
}
|
}
|
||||||
|
player->getItemId = getItemId;
|
||||||
} else {
|
} else {
|
||||||
Item_Give(globalCtx, giveItemId);
|
Item_Give(globalCtx, giveItemId);
|
||||||
}
|
}
|
||||||
@ -150,6 +151,7 @@ void func_80AFB89C(EnSi* this, GlobalContext* globalCtx) {
|
|||||||
giveItemId = sGetItemTable[getItemId - 1].itemId;
|
giveItemId = sGetItemTable[getItemId - 1].itemId;
|
||||||
Item_Give(globalCtx, giveItemId);
|
Item_Give(globalCtx, giveItemId);
|
||||||
}
|
}
|
||||||
|
player->getItemId = getItemId;
|
||||||
} else {
|
} else {
|
||||||
Item_Give(globalCtx, giveItemId);
|
Item_Give(globalCtx, giveItemId);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user