Changed some error messages

Former-commit-id: e578d813dd7a8691506af080b79bc1ec99b65e3c
This commit is contained in:
Lynix 2014-08-18 18:15:19 +02:00
parent 0d69267992
commit b3351037c7
4 changed files with 5 additions and 5 deletions

View File

@ -396,7 +396,7 @@ void NzModel::SetSkinCount(unsigned int skinCount)
#if NAZARA_GRAPHICS_SAFE
if (skinCount == 0)
{
NazaraError("Skin count must be over 0");
NazaraError("Skin count must be over zero");
return;
}
#endif

View File

@ -375,7 +375,7 @@ void NzRenderer::DrawIndexedPrimitivesInstanced(unsigned int instanceCount, nzPr
if (instanceCount == 0)
{
NazaraError("Instance count must be over 0");
NazaraError("Instance count must be over zero");
return;
}
@ -470,7 +470,7 @@ void NzRenderer::DrawPrimitivesInstanced(unsigned int instanceCount, nzPrimitive
if (instanceCount == 0)
{
NazaraError("Instance count must be over 0");
NazaraError("Instance count must be over zero");
return;
}

View File

@ -48,7 +48,7 @@ bool NzAnimation::AddSequence(const NzSequence& sequence)
if (sequence.frameCount == 0)
{
NazaraError("Sequence frame count must be over 0");
NazaraError("Sequence frame count must be over zero");
return false;
}
#endif

View File

@ -32,7 +32,7 @@ bool NzSkeleton::Create(unsigned int jointCount)
#if NAZARA_UTILITY_SAFE
if (jointCount == 0)
{
NazaraError("Joint count must be over 0");
NazaraError("Joint count must be over zero");
return false;
}
#endif