lerp torches. the fast torches (the more common ones), look a bit odd due to

texturing issues. not sure what's wrong there.
This commit is contained in:
Bill Currie 2000-12-20 06:50:33 +00:00
parent 6925190ffd
commit 1634c57339
2 changed files with 7 additions and 4 deletions

View file

@ -835,7 +835,7 @@ R_DrawAliasModel (entity_t *e)
if (gl_affinemodels->int_val)
glHint (GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
if (gl_lerp_anim->int_val && !torch) {
if (gl_lerp_anim->int_val) {
R_SetupAliasBlendedFrame (currententity->frame, paliashdr, currententity, false);
} else {
R_SetupAliasFrame (currententity->frame, paliashdr, false);

View file

@ -34,6 +34,7 @@
#include "bothdefs.h"
#include "r_local.h"
#include "cl_main.h"
#include "cl_tent.h"
mnode_t *r_pefragtopnode;
@ -257,9 +258,11 @@ R_StoreEfrags (efrag_t **ppefrag)
case mod_sprite:
pent = pefrag->entity;
if ((pent->visframe != r_framecount) &&
(cl_numvisedicts < MAX_VISEDICTS)) {
cl_visedicts[cl_numvisedicts++] = pent;
if (pent->visframe != r_framecount) {
entity_t **ent = CL_NewTempEntity ();
if (!ent)
return;
*ent = pent;
// mark that we've recorded this entity for this frame
pent->visframe = r_framecount;