Light flicker code ignored sector brightness limit

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Light flicker code ignored sector brightness limit

Re: Light flicker code ignored sector brightness limit

by Edward-san » Thu May 05, 2016 7:53 am

Try this example wad. There's a switch behind the player which activates the light flicker. Without the fix, the flicker goes only once, then it's fullbright.

arg1 is set to 65536, which is converted to 0 in short int, leading to a maxlight value less than the minlight value.
Attachments
light_flicker_range.wad
(1.43 KiB) Downloaded 29 times

Light flicker code ignored sector brightness limit

by Edward-san » Wed May 04, 2016 12:52 pm

See this pull request for details.

Top