]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
framegroups: add support for group names specified as // comment
[xonotic/darkplaces.git] / sv_main.c
index f36bfe137e01a1b2eab8d59424730593f28b109f..b7f0caf4fd34c796f3423de25b4b5916b2001194 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -2973,7 +2973,7 @@ int SV_ParticleEffectIndex(const char *name)
                                argc = 0;
                                for (;;)
                                {
-                                       if (!COM_ParseToken_Simple(&text, true, false) || !strcmp(com_token, "\n"))
+                                       if (!COM_ParseToken_Simple(&text, true, false, true) || !strcmp(com_token, "\n"))
                                                break;
                                        if (argc < 16)
                                        {