X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=radiant%2Fwatchbsp.cpp;h=e2cc86c37d176e4cf70b81007230a29031ee652d;hb=8d4bd599b6f42a07789c3ee37cddeaef3228ef9f;hp=ee8912e0b16b81d33745a7aa9d7c2983624f17ad;hpb=3591d7dc01732577ebbb25f3818ccec8f440338f;p=xonotic%2Fnetradiant.git diff --git a/radiant/watchbsp.cpp b/radiant/watchbsp.cpp index ee8912e0..e2cc86c3 100644 --- a/radiant/watchbsp.cpp +++ b/radiant/watchbsp.cpp @@ -211,7 +211,7 @@ void BuildMonitor_Construct() { g_pWatchBSP = new CWatchBSP(); - g_WatchBSP_Enabled = !string_empty(g_pGameDescription->getKeyValue("no_bsp_monitor")); + g_WatchBSP_Enabled = !string_equal(g_pGameDescription->getKeyValue("no_bsp_monitor"), "1"); GlobalPreferenceSystem().registerPreference("WatchBSP", BoolImportStringCaller(g_WatchBSP_Enabled), BoolExportStringCaller(g_WatchBSP_Enabled)); GlobalPreferenceSystem().registerPreference("RunQuake2Run", BoolImportStringCaller(g_WatchBSP_RunQuake), BoolExportStringCaller(g_WatchBSP_RunQuake));