- moved all EV_Light* functions and G_SerializeLevel into FLevelLocals
This commit is contained in:
parent
fe06c49e34
commit
e5139cc325
8 changed files with 353 additions and 355 deletions
|
|
@ -132,7 +132,7 @@ void DDoor::Tick ()
|
|||
// killough 10/98: implement gradual lighting effects
|
||||
if (m_LightTag != 0 && m_TopDist != -m_Sector->floorplane.fD())
|
||||
{
|
||||
EV_LightTurnOnPartway (m_LightTag,
|
||||
level.EV_LightTurnOnPartway (m_LightTag,
|
||||
(m_Sector->ceilingplane.fD() + m_Sector->floorplane.fD()) / (m_TopDist + m_Sector->floorplane.fD()));
|
||||
}
|
||||
|
||||
|
|
@ -178,7 +178,7 @@ void DDoor::Tick ()
|
|||
// killough 10/98: implement gradual lighting effects
|
||||
if (m_LightTag != 0 && m_TopDist != -m_Sector->floorplane.fD())
|
||||
{
|
||||
EV_LightTurnOnPartway (m_LightTag,
|
||||
level.EV_LightTurnOnPartway (m_LightTag,
|
||||
(m_Sector->ceilingplane.fD() + m_Sector->floorplane.fD()) / (m_TopDist + m_Sector->floorplane.fD()));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue