Split error macro into two versions (format vs non-formating) to allow format checking at compile-time
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Nz
|
||||
std::size_t jointIndex = skeletonComponent->FindJointByName(jointName);
|
||||
if (jointIndex == Skeleton::InvalidJointIndex)
|
||||
{
|
||||
NazaraError("skeleton has no joint \"{0}\"", jointName);
|
||||
NazaraErrorFmt("skeleton has no joint \"{0}\"", jointName);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user