mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
/, not // in paths. textures//foo.png is ugly. ;)
This commit is contained in:
parent
deb8137db7
commit
4597b44334
1 changed files with 3 additions and 3 deletions
|
@ -278,7 +278,7 @@ Mod_LoadExternalSkin (maliasskindesc_t *pskindesc, char *filename)
|
|||
|
||||
tex = LoadImage (filename);
|
||||
if (!tex)
|
||||
tex = LoadImage (va ("textures/%s", ptr));
|
||||
tex = LoadImage (va ("textures/%s", ptr + 1));
|
||||
if (tex) {
|
||||
pskindesc->texnum = GL_LoadTexture (filename, tex->width, tex->height,
|
||||
tex->data, true, false,
|
||||
|
@ -290,9 +290,9 @@ Mod_LoadExternalSkin (maliasskindesc_t *pskindesc, char *filename)
|
|||
if (!glow)
|
||||
glow = LoadImage (va ("%s_glow", filename));
|
||||
if (!glow)
|
||||
glow = LoadImage (va ("textures/%s_luma", ptr));
|
||||
glow = LoadImage (va ("textures/%s_luma", ptr + 1));
|
||||
if (!glow)
|
||||
glow = LoadImage (va ("textures/%s_glow", ptr));
|
||||
glow = LoadImage (va ("textures/%s_glow", ptr + 1));
|
||||
if (glow)
|
||||
pskindesc->fb_texnum =
|
||||
GL_LoadTexture (va ("fb_%s", filename), glow->width,
|
||||
|
|
Loading…
Reference in a new issue