mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- removed the 0 check on the UDMF property, so 0 can be a valid aperture
This commit is contained in:
parent
acf83c2a74
commit
e754fe04ef
1 changed files with 2 additions and 4 deletions
|
@ -6092,9 +6092,7 @@ AActor *P_SpawnMapThing (FMapThing *mthing, int position)
|
|||
|
||||
if (i->IsDescendantOf(RUNTIME_CLASS(ADynamicLight)))
|
||||
{
|
||||
if (mthing->SpotInnerAngle != 0)
|
||||
((ADynamicLight*)mobj)->SpotInnerAngle = mthing->SpotInnerAngle;
|
||||
if (mthing->SpotOuterAngle != 0)
|
||||
((ADynamicLight*)mobj)->SpotOuterAngle = mthing->SpotOuterAngle;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue