mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-27 22:31:07 +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)
|
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)
|
DEFINE_ACTION_FUNCTION_NATIVE(ADynamicLight, DeactivateLight, DeactivateLight)
|
||||||
|
|
Loading…
Reference in a new issue