Skip to content

Commit

Permalink
fixed 4.27 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Sep 28, 2023
1 parent bdf5cd1 commit 80230e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ bool UglTFRuntimeSkeletalMeshComponent::ContainsPhysicsTriMeshData(bool InUseAll
return false;
}

#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION > 0
#if (ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION > 0) || (ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 26)
return bEnablePerPolyCollision && CurrentSkeletalMeshAsset->GetEnablePerPolyCollision();
#else
return bEnablePerPolyCollision && CurrentSkeletalMeshAsset->bEnablePerPolyCollision;
Expand Down

0 comments on commit 80230e9

Please sign in to comment.