Utility/MeshParam: Use constref instead of pointer

This commit is contained in:
Lynix
2017-10-19 21:05:48 +02:00
parent e0bdd35280
commit 995dfddafa
3 changed files with 3 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ namespace Nz
return false;
}
if (vertexDeclaration == nullptr)
if (!vertexDeclaration)
{
NazaraError("The vertex declaration can't be null");
return false;