mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 06:32:00 +00:00
Change 'player minlight' rules from the singular player.mdl to any entity with a player's colourmap. This is to fix ktx's vwplayer.mdl not responding like players should. This may also slightly affect TF's sentries and telepads and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6284 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
03440263e2
commit
91ea3ed518
1 changed files with 1 additions and 1 deletions
|
@ -1567,7 +1567,7 @@ qboolean R_CalcModelLighting(entity_t *e, model_t *clmodel)
|
||||||
//MORE HUGE HACKS! WHEN WILL THEY CEASE!
|
//MORE HUGE HACKS! WHEN WILL THEY CEASE!
|
||||||
// clamp lighting so it doesn't overbright as much
|
// clamp lighting so it doesn't overbright as much
|
||||||
// ZOID: never allow players to go totally black
|
// ZOID: never allow players to go totally black
|
||||||
if (clmodel->engineflags & MDLF_PLAYER)
|
if (e->playerindex >= 0)
|
||||||
{
|
{
|
||||||
float fb = r_fullbrightSkins.value;
|
float fb = r_fullbrightSkins.value;
|
||||||
if (fb > cls.allow_fbskins)
|
if (fb > cls.allow_fbskins)
|
||||||
|
|
Loading…
Reference in a new issue