diff options
Diffstat (limited to 'settings.c')
-rw-r--r-- | settings.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/settings.c b/settings.c index 5fdcae284..9ddc0e32d 100644 --- a/settings.c +++ b/settings.c @@ -1600,17 +1600,7 @@ void IConsoleSetPatchSetting(const char *name, const char *value) ptr = ini_get_variable(&sd->save, patches_ptr); SetPatchValue(index, patches_ptr, val); - val = ReadValue(ptr, sd->save.conv); - if (sd->desc.proc != NULL) sd->desc.proc(val); - - if (sd->desc.cmd == SDT_BOOLX) { - snprintf(newval, sizeof(newval), (val != 0) ? "on" : "off"); - } else { - snprintf(newval, sizeof(newval), "%d", val); - } - - IConsolePrintF(_icolour_warn, "'%s' changed to: %s", name, newval); } void IConsoleGetPatchSetting(const char *name) |