mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-05-31 01:10:52 +00:00
* Updated to ZDoom 4170:
- Moved all BorderNeedRefresh and SB_state updating code into separate functions that won't crash if screen is NULL. - Fixed: G_DoLoadLevel() has a for loop where it resets player cameras that incremented and checked the wrong variable. - Fixed: Players using colorsets instead of custom colors overrode their team colors. - Added TheFortuneTeller's NORANDOMPUFFZ submission. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1534 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
ad91214e85
commit
d51123c1a1
28 changed files with 121 additions and 65 deletions
|
@ -223,6 +223,9 @@ void D_GetPlayerColor (int player, float *h, float *s, float *v, FPlayerColorSet
|
|||
|
||||
*s = clamp(ts + *s * 0.15f - 0.075f, 0.f, 1.f);
|
||||
*v = clamp(tv + *v * 0.5f - 0.25f, 0.f, 1.f);
|
||||
|
||||
// Make sure not to pass back any colorset in teamplay.
|
||||
colorset = NULL;
|
||||
}
|
||||
if (set != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue