- Fixed: Red blood particles used too dark colors.

- Fixed: The smoothlighting code in side_t::GetLightLevel relied on 
  the global 'linedef' variable for automatic fake contrast although
  this issue had already been fixed for the original code here.
- Replaced static string buffers with FString in FONTDEFS parser.

SVN r1194 (trunk)
This commit is contained in:
Christoph Oelckers 2008-09-04 14:09:32 +00:00
commit 49565ccb84
6 changed files with 54 additions and 25 deletions

View file

@ -101,7 +101,7 @@ void P_InitEffects ()
color++;
}
int kind = gameinfo.defaultbloodcolor;
int kind = gameinfo.defaultbloodparticlecolor;
blood1 = ColorMatcher.Pick(RPART(kind), GPART(kind), BPART(kind));
blood2 = ColorMatcher.Pick(RPART(kind)/3, GPART(kind)/3, BPART(kind)/3);
}