Skip to content

Commit

Permalink
Fix Android packaging errors (Error: 'this' pointer cannot be null in…
Browse files Browse the repository at this point in the history
… well-defined C++ code)
  • Loading branch information
andreiagmu committed Mar 26, 2024
1 parent 8d4bbe6 commit cb30f99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void UHUDLayer::OnAnimationFinished_Implementation(const UWidgetAnimation* Anima

void UHUDLayer::RemoveHUDLayer()
{
if(this && IsVisible() && GetRemovedAnimation() && !bRemoving)
if(this != nullptr && IsVisible() && GetRemovedAnimation() && !bRemoving)
{
bRemoving=true;
if(bReverseCloseAnim)
Expand Down

0 comments on commit cb30f99

Please sign in to comment.