r4552 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Sep 29 07:29:51 EDT 2008
Author: div0
Date: 2008-09-29 07:29:51 -0400 (Mon, 29 Sep 2008)
New Revision: 4552
Modified:
trunk/data/qcsrc/server/g_world.qc
Log:
fix typos
Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc 2008-09-29 11:25:17 UTC (rev 4551)
+++ trunk/data/qcsrc/server/g_world.qc 2008-09-29 11:29:51 UTC (rev 4552)
@@ -174,8 +174,8 @@
if(argv(0) == "//")
continue;
k = argv(0);
- v = cvar_string(v);
- d = cvar_defstring(v);
+ v = cvar_string(k);
+ d = cvar_defstring(k);
if(v != d)
{
cvar_changes = strcat(cvar_changes, k, " \"", v, "\" // ", d, "\n");
@@ -187,6 +187,10 @@
}
}
fclose(fh);
+ if(cvar_changes == "")
+ cvar_changes = "// this server runs at default settings\n";
+ else
+ cvar_changes = strcat("// this server runs at modified settings:\n", cvar_changes);
cvar_changes = strzone(cvar_changes);
}
More information about the nexuiz-commits
mailing list