ref: enable multiplayer high defintion model in menu preview
This commit is contained in:
parent
d52d50e283
commit
cac5852e68
2 changed files with 4 additions and 2 deletions
|
@ -3389,7 +3389,8 @@ static int R_StudioDrawPlayer( int flags, entity_state_t *pplayer )
|
||||||
|
|
||||||
if( flags & STUDIO_RENDER )
|
if( flags & STUDIO_RENDER )
|
||||||
{
|
{
|
||||||
if( cl_himodels->value && RI.currentmodel != RI.currententity->model )
|
// change body if it's a menu entity
|
||||||
|
if( cl_himodels->value && ( RI.currentmodel != RI.currententity->model || !RI.drawWorld ))
|
||||||
{
|
{
|
||||||
// show highest resolution multiplayer model
|
// show highest resolution multiplayer model
|
||||||
RI.currententity->curstate.body = 255;
|
RI.currententity->curstate.body = 255;
|
||||||
|
|
|
@ -3155,7 +3155,8 @@ static int R_StudioDrawPlayer( int flags, entity_state_t *pplayer )
|
||||||
|
|
||||||
if( flags & STUDIO_RENDER )
|
if( flags & STUDIO_RENDER )
|
||||||
{
|
{
|
||||||
if( cl_himodels->value && RI.currentmodel != RI.currententity->model )
|
// change body if it's a menu entity
|
||||||
|
if( cl_himodels->value && ( RI.currentmodel != RI.currententity->model || !RI.drawWorld ))
|
||||||
{
|
{
|
||||||
// show highest resolution multiplayer model
|
// show highest resolution multiplayer model
|
||||||
RI.currententity->curstate.body = 255;
|
RI.currententity->curstate.body = 255;
|
||||||
|
|
Loading…
Add table
Reference in a new issue