mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-23 22:32:50 -05:00
Change cvar name for accuracy
Changed Cvar from "gRandoFanfareByItemType" to "gRandoQuestItemFanfares" for better accuracy
This commit is contained in:
parent
6c72d39f79
commit
5ad90bf71b
@ -185,7 +185,7 @@ void Audio_PlayFanfare_Rando() {
|
|||||||
temp1 = NA_BGM_SMALL_ITEM_GET | 0x900;
|
temp1 = NA_BGM_SMALL_ITEM_GET | 0x900;
|
||||||
}
|
}
|
||||||
// If the setting is toggled on and we get special quest items (longer fanfares):
|
// If the setting is toggled on and we get special quest items (longer fanfares):
|
||||||
if (CVar_GetS32("gRandoFanfareByItemType", 0) != 0) {
|
if (CVar_GetS32("gRandoQuestItemFanfares", 0) != 0) {
|
||||||
// If we get a medallion, play the "get a medallion" fanfare
|
// If we get a medallion, play the "get a medallion" fanfare
|
||||||
if ((getItemId >= GI_MEDALLION_LIGHT) && (getItemId <= GI_MEDALLION_SPIRIT)) {
|
if ((getItemId >= GI_MEDALLION_LIGHT) && (getItemId <= GI_MEDALLION_SPIRIT)) {
|
||||||
temp1 = NA_BGM_MEDALLION_GET | 0x900;
|
temp1 = NA_BGM_MEDALLION_GET | 0x900;
|
||||||
|
@ -12707,7 +12707,7 @@ s32 func_8084DFF4(GlobalContext* globalCtx, Player* this) {
|
|||||||
temp1 = NA_BGM_SMALL_ITEM_GET | 0x900;
|
temp1 = NA_BGM_SMALL_ITEM_GET | 0x900;
|
||||||
}
|
}
|
||||||
// If the setting is toggled on and we get special quest items (longer fanfares):
|
// If the setting is toggled on and we get special quest items (longer fanfares):
|
||||||
if (CVar_GetS32("gRandoFanfareByItemType", 0) != 0) {
|
if (CVar_GetS32("gRandoQuestItemFanfares", 0) != 0) {
|
||||||
// If we get a medallion, play the "get a medallion" fanfare
|
// If we get a medallion, play the "get a medallion" fanfare
|
||||||
if ((this->getItemId >= GI_MEDALLION_LIGHT) && (this->getItemId <= GI_MEDALLION_SPIRIT)) {
|
if ((this->getItemId >= GI_MEDALLION_LIGHT) && (this->getItemId <= GI_MEDALLION_SPIRIT)) {
|
||||||
temp1 = NA_BGM_MEDALLION_GET | 0x900;
|
temp1 = NA_BGM_MEDALLION_GET | 0x900;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user