mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 00:30:38 +00:00
fullbrights on player skins now work properly instead of using the fb skin
of the player model.
This commit is contained in:
parent
92f357a2ad
commit
1444bac78d
7 changed files with 111 additions and 75 deletions
|
@ -35,6 +35,7 @@
|
|||
#include "r_local.h"
|
||||
#include "skin.h"
|
||||
#include "sys.h"
|
||||
#include "texture.h"
|
||||
|
||||
#define LIGHT_MIN 5 // lowest light value we'll allow, to
|
||||
// avoid the
|
||||
|
@ -608,13 +609,13 @@ R_AliasSetupSkin (void)
|
|||
r_affinetridesc.skinheight = pmdl->skinheight;
|
||||
|
||||
if (currententity->scoreboard) {
|
||||
byte *base;
|
||||
tex_t *base;
|
||||
|
||||
if (!currententity->scoreboard->skin)
|
||||
Skin_Find (currententity->scoreboard);
|
||||
base = Skin_Cache (currententity->scoreboard->skin);
|
||||
if (base) {
|
||||
r_affinetridesc.pskin = base;
|
||||
r_affinetridesc.pskin = base->data;
|
||||
r_affinetridesc.skinwidth = 320;
|
||||
r_affinetridesc.skinheight = 200;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue