Skip to content

Commit

Permalink
fix: extraneous popup about string ordering error when loading older …
Browse files Browse the repository at this point in the history
…quests
  • Loading branch information
EmilyV99 committed Aug 26, 2023
1 parent 2a1198f commit 5fe7507
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/zq/zq_strings.cpp
Expand Up @@ -16,6 +16,7 @@
#include <map>
#include <string>

extern FFScript FFCore;
static bool strlist_numerical_sort = false;
void editmsg(int32_t index, int32_t addAfter);
int32_t strlist_del();
Expand Down Expand Up @@ -1098,7 +1099,12 @@ void fix_string_list()
MsgStrings[i].listpos = i;
}

jwin_alert("Notice","Your quest's string ordering was corrupted.","It has been reverted to the default order.",NULL,"O&K",NULL,'k',0,get_zc_font(font_lfont));
if(FFCore.getQuestHeaderInfo(vZelda) >= 0x250) //not an error before this, don't pop up
{
jwin_alert("Notice","Your quest's string ordering was corrupted.",
"It has been reverted to the default order.",NULL,
"O&K",NULL,'k',0,get_zc_font(font_lfont));
}
}
}

Expand Down

0 comments on commit 5fe7507

Please sign in to comment.