Change cvar name for accuracy

Changed Cvar from "gRandoFanfareByItemType" to "gRandoQuestItemFanfares" for better accuracy
This commit is contained in:
Sarge-117 2022-07-24 12:51:55 -07:00
parent 6c72d39f79
commit 5ad90bf71b
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ void Audio_PlayFanfare_Rando() {
temp1 = NA_BGM_SMALL_ITEM_GET | 0x900;
}
// 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 ((getItemId >= GI_MEDALLION_LIGHT) && (getItemId <= GI_MEDALLION_SPIRIT)) {
temp1 = NA_BGM_MEDALLION_GET | 0x900;

View File

@ -12707,7 +12707,7 @@ s32 func_8084DFF4(GlobalContext* globalCtx, Player* this) {
temp1 = NA_BGM_SMALL_ITEM_GET | 0x900;
}
// 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 ((this->getItemId >= GI_MEDALLION_LIGHT) && (this->getItemId <= GI_MEDALLION_SPIRIT)) {
temp1 = NA_BGM_MEDALLION_GET | 0x900;