From b1855b52685e4ff683d7e02f9b72ded342ab70bd Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 11 Feb 2018 07:02:44 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5216 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/p_script.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/client/p_script.c b/engine/client/p_script.c index b2c24445a..154643255 100644 --- a/engine/client/p_script.c +++ b/engine/client/p_script.c @@ -918,6 +918,8 @@ static void P_LoadTexture(part_type_t *ptype, qboolean warn) tn.base = R_LoadHiResTexture(ptype->texname, "particles", IF_LOADNOW | IF_NOMIPMAP|(ptype->looks.nearest?IF_NEAREST:IF_LINEAR)|(ptype->looks.premul?IF_PREMULTIPLYALPHA:0)); //mipmapping breaks particlefont stuff if (tn.base && tn.base->status == TEX_LOADING) COM_WorkerPartialSync(tn.base, &tn.base->status, TEX_LOADING); + if (!TEXLOADED(tn.base)) + tn.base = R_LoadHiResTexture(ptype->texname, "particles", IF_CLAMP|IF_NOREPLACE|IF_LOADNOW | IF_NOMIPMAP|(ptype->looks.nearest?IF_NEAREST:IF_LINEAR)|(ptype->looks.premul?IF_PREMULTIPLYALPHA:0)); //mipmapping breaks particlefont stuff } else tn.base = NULL;