- sprite lightlevel cleanup and fixes.
* consolidated the getter functions on the game data side * better handling of per-sprite lighting with fog * allow negative values for additive per-sprite lighting. * also fixed return type of UpdateWaterDepth.
This commit is contained in:
parent
da30b6f6f0
commit
344c6348fd
12 changed files with 312 additions and 46 deletions
|
|
@ -4272,7 +4272,7 @@ void AActor::CheckSectorTransition(sector_t *oldsec)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
int AActor::UpdateWaterDepth(bool splash)
|
||||
double AActor::UpdateWaterDepth(bool splash)
|
||||
{
|
||||
double fh = -FLT_MAX;
|
||||
bool reset = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue