PR feedback

Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com>
This commit is contained in:
Sergey Pereslavtsev
2022-01-11 12:11:51 +00:00
parent 10497fe92c
commit 2e577a8b14
2 changed files with 4 additions and 2 deletions
@@ -53,7 +53,7 @@ namespace Terrain
AZ::Data::AssetId TerrainPhysicsSurfaceMaterialMapping::GetMaterialLibraryId()
{
if (auto* physicsSystem = AZ::Interface<AzPhysics::SystemInterface>::Get())
if (const auto* physicsSystem = AZ::Interface<AzPhysics::SystemInterface>::Get())
{
if (const auto* physicsConfiguration = physicsSystem->GetConfiguration())
{