]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
PRVM: disallow changing read-only cvars
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 2bfd6912c239084b2645b0b8a13b9beec4dd6670..d291799ce7f5b9f3bafd91a60f248a5f62a601b3 100644 (file)
--- a/host.c
+++ b/host.c
@@ -113,7 +113,7 @@ void Host_Error (const char *error, ...)
                Sys_Error ("Host_Error: recursively entered (original error was: %s    new error is: %s)", hosterrorstring2, hosterrorstring1);
        hosterror = true;
 
-       strlcpy(hosterrorstring2, hosterrorstring1, sizeof(hosterrorstring2));
+       dp_strlcpy(hosterrorstring2, hosterrorstring1, sizeof(hosterrorstring2));
 
        CL_Parse_DumpPacket();