X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=radiant%2Fwatchbsp.cpp;h=e2cc86c37d176e4cf70b81007230a29031ee652d;hp=ee8912e0b16b81d33745a7aa9d7c2983624f17ad;hb=e9560a69a3f54c3e955534b458372c2ecc37650c;hpb=509042502f58be20e84ccc3ba1f4487e20d4d3a6 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));