From 8e349ffdb32721c9f418ce2e9ced4784cb35ef6b Mon Sep 17 00:00:00 2001 From: TimeServ Date: Thu, 26 Aug 2004 00:29:24 +0000 Subject: [PATCH] oops, this breaks particle surface emittance altogether, so right now it's a tradeoff between unnecessary memory usage and cpu vs no surface emittance git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@45 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gl/gl_model.c b/engine/gl/gl_model.c index 71912fa14..eb63e46eb 100644 --- a/engine/gl/gl_model.c +++ b/engine/gl/gl_model.c @@ -727,7 +727,7 @@ void GLMod_LoadTextures (lump_t *l) tx->width = mt->width; tx->height = mt->height; - tx->parttype = FindParticleType(va("tex_%s", tx->name)); + tx->parttype = ParticleTypeForName(va("tex_%s", tx->name)); if (!mt->offsets[0]) //this is a hl external style texture, load it a little later (from a wad) {