mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
Don't clamp SHADE2LIGHT
- Light levels aren't stored in bytes anymore, so there's no reason to clamp it anymore when loading Build maps.
This commit is contained in:
parent
fbb5689f29
commit
46592f5f6d
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@
|
|||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
||||
//#define SHADE2LIGHT(s) (clamp (160-2*(s), 0, 255))
|
||||
#define SHADE2LIGHT(s) (clamp (255-2*s, 0, 255))
|
||||
//#define SHADE2LIGHT(s) (160-2*(s))
|
||||
#define SHADE2LIGHT(s) (255-2*s)
|
||||
|
||||
// TYPES -------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue