cvars: allow to set very long descriptions

cvars: added full descriptions to yb+restricted_weapons (closes #659)
crlib: update submodule
fix: send server messages should split as string and not stringref to keep null-terminated chunks
This commit is contained in:
jeefo 2025-02-15 13:51:45 +03:00
commit b8fb2e8845
No known key found for this signature in database
GPG key ID: D696786B81B667C8
9 changed files with 77 additions and 58 deletions

View file

@ -933,8 +933,8 @@ CR_EXPORT int Meta_Query (char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_t
// check for interface version compatibility
if (strcmp (ifvers, Plugin_info.ifvers) != 0) {
auto mdll = StringRef (ifvers).split (":");
auto pdll = StringRef (META_INTERFACE_VERSION).split (":");
auto mdll = String (ifvers).split (":");
auto pdll = String (META_INTERFACE_VERSION).split (":");
gpMetaUtilFuncs->pfnLogError (PLID, "%s: meta-interface version mismatch (metamod: %s, %s: %s)", Plugin_info.name, ifvers, Plugin_info.name, Plugin_info.ifvers);