diff --git a/golded3/gccfgg0.cpp b/golded3/gccfgg0.cpp index f2db04f..bd27d1b 100644 --- a/golded3/gccfgg0.cpp +++ b/golded3/gccfgg0.cpp @@ -103,6 +103,11 @@ tglobalbool globalbool[gswitches_last] = { { CRC_AKAMATCHNET }, // 0xFD6E; }; +void CfgJAMSMAPIHighwater(bool value) +{ + CFG->switches.handle(CRC_JAMSMAPIHIGHWATER, value ? "YES" : "NO"); +} + bool gswitches::handle(word crc, const char* value) { uint left,right,middle; @@ -140,7 +145,7 @@ int SwitchCfg(word crc, char k, char* v) { val = v; bool found = true; - if(CFG->switches.handle(crc,v)) + if(CFG->switches.handle(crc, v)) return true; // Switch the first letter of the keyword