mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-21 04:55:56 +00:00
Mark a mod the port cannot use as not used under its switch
Its row said On like a working mod, and only the description pane told why nothing happened. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fa59758f63
commit
acf2e10bc5
3 files changed
+7
-1
No files matched your search
+2
-1
@@ -1057,7 +1057,8 @@ static void tab_mods(float scale) {
|
||||
snprintf(desc + k, sizeof desc - k, "%s%s%s%s%s%s\n\n%s", over[0] ? "\n\n" : "", over,
|
||||
other[0] ? "\n\n" : "", other, problem != UI_TEXT_COUNT ? "\n\n" : "",
|
||||
problem != UI_TEXT_COUNT ? menu_text(problem) : "", menu_text(UI_MENU_MODS_MOVE_HINT));
|
||||
int s = opt_text_row(id, m->name, menu_text(m->enabled ? UI_MENU_ON : UI_MENU_OFF), after, desc, true);
|
||||
const char *note = m->enabled && m->problem != MOD_OK ? menu_text(UI_MENU_MODS_UNUSED) : after;
|
||||
int s = opt_text_row(id, m->name, menu_text(m->enabled ? UI_MENU_ON : UI_MENU_OFF), note, desc, true);
|
||||
if (s == 2 || s == -1 || s == 1) {
|
||||
mods_set_enabled(i, !m->enabled);
|
||||
opt_save_soon();
|
||||
|
||||
Reference in new issue
Block a user