Fixed a map name bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@741 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-01-07 02:34:59 +00:00
parent 63685e264b
commit 340acfd808

View file

@ -163,7 +163,7 @@ static void VARGS PFQ2_error (char *fmt, ...)
vsprintf (msg, fmt, argptr); vsprintf (msg, fmt, argptr);
va_end (argptr); va_end (argptr);
Sys_Error ("Game Error: %s", msg); SV_Error("Game Error: %s", msg);
} }
/* /*
@ -214,7 +214,7 @@ static void PFQ2_Configstring (int i, char *val)
} }
else if (i == Q2CS_NAME) else if (i == Q2CS_NAME)
{ {
Q_strncpyz(sv.name, val, sizeof(sv.name)); Q_strncpyz(sv.mapname, val, sizeof(sv.name));
} }
else else
{ {