- fixed: dynamic lights did not relink themselves when their position changed.
This commit is contained in:
parent
22e9fc9b76
commit
d797415745
3 changed files with 16 additions and 2 deletions
|
|
@ -384,6 +384,19 @@ void ADynamicLight::UpdateLocation()
|
|||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void ADynamicLight::SetOrigin(fixed_t x, fixed_t y, fixed_t z, bool moving)
|
||||
{
|
||||
Super::SetOrigin(x, y, z, moving);
|
||||
LinkLight();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void ADynamicLight::SetOffset(fixed_t x, fixed_t y, fixed_t z)
|
||||
{
|
||||
m_offX = x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue