Fixed: Light levels outside the range [0,255] really do matter.
SVN r3223 (trunk)
This commit is contained in:
parent
f69181f851
commit
ee8ca0de87
11 changed files with 97 additions and 48 deletions
|
|
@ -1122,7 +1122,7 @@ public:
|
|||
continue;
|
||||
|
||||
case NAME_Lightlevel:
|
||||
sec->lightlevel = (BYTE)clamp<int>(CheckInt(key), 0, 255);
|
||||
sec->lightlevel = sector_t::ClampLight(CheckInt(key));
|
||||
continue;
|
||||
|
||||
case NAME_Special:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue