mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: DeactivateLight called Activate instead of Deactivate.
This commit is contained in:
parent
c753d59a72
commit
d057af7c3b
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(ADynamicLight, ActivateLight, ActivateLight)
|
|||
|
||||
void DeactivateLight(AActor *self)
|
||||
{
|
||||
for (auto l : self->AttachedLights) l->Activate();
|
||||
for (auto l : self->AttachedLights) l->Deactivate();
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(ADynamicLight, DeactivateLight, DeactivateLight)
|
||||
|
|
Loading…
Reference in a new issue