mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-04-20 13:30:46 +00:00
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:
parent
6925190ffd
commit
1634c57339
2 changed files with 7 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue