mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +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,10 +6092,8 @@ 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;
|
||||
((ADynamicLight*)mobj)->SpotInnerAngle = mthing->SpotInnerAngle;
|
||||
((ADynamicLight*)mobj)->SpotOuterAngle = mthing->SpotOuterAngle;
|
||||
}
|
||||
|
||||
mobj->CallBeginPlay ();
|
||||
|
|
Loading…
Reference in a new issue