mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-20 18:42:17 +00:00
- fixed: DeactivateLight called Activate instead of Deactivate.
This commit is contained in:
parent
1bb9b3b861
commit
17b13f1a60
1 changed files with 1 additions and 2 deletions
|
@ -191,7 +191,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)
|
||||
|
@ -239,7 +239,6 @@ void FDynamicLight::ReleaseLight()
|
|||
if (next != nullptr) next->prev = prev;
|
||||
prev = nullptr;
|
||||
FreeList.Push(this);
|
||||
Printf("Releasing %p\n", this);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue