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:
parent
945020e760
commit
45d04950c1
1 changed files with 2 additions and 2 deletions
|
@ -4391,9 +4391,9 @@ void Terr_ParseEntityLump(char *data, heightmap_t *heightmap)
|
||||||
else if (!strcmp("defaultgroundheight", key))
|
else if (!strcmp("defaultgroundheight", key))
|
||||||
heightmap->defaultgroundheight = atof(com_token);
|
heightmap->defaultgroundheight = atof(com_token);
|
||||||
else if (!strcmp("defaultgroundtexture", key))
|
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))
|
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))
|
else if (!strcmp("tiles", key))
|
||||||
{
|
{
|
||||||
char *d;
|
char *d;
|
||||||
|
|
Loading…
Reference in a new issue