fix defaultgroundshader issue.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4681 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-06-08 04:54:04 +00:00
parent 945020e760
commit 45d04950c1
1 changed files with 2 additions and 2 deletions

View File

@ -4391,9 +4391,9 @@ void Terr_ParseEntityLump(char *data, heightmap_t *heightmap)
else if (!strcmp("defaultgroundheight", key))
heightmap->defaultgroundheight = atof(com_token);
else if (!strcmp("defaultgroundtexture", key))
Q_strncpyz(heightmap->defaultgroundtexture, key, sizeof(heightmap->defaultgroundtexture));
Q_strncpyz(heightmap->defaultgroundtexture, com_token, sizeof(heightmap->defaultgroundtexture));
else if (!strcmp("defaultwatertexture", key))
Q_strncpyz(heightmap->defaultwatershader, key, sizeof(heightmap->defaultwatershader));
Q_strncpyz(heightmap->defaultwatershader, com_token, sizeof(heightmap->defaultwatershader));
else if (!strcmp("tiles", key))
{
char *d;