1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Minor adjustment in debugging information for sprite entity type.

This commit is contained in:
Sandu Liviu Catalin 2015-11-11 11:31:35 +02:00
parent f3b7f35055
commit 9c5205d03b

View File

@ -58,7 +58,7 @@ void CSprite::ShowRange(SQInt32 first, SQInt32 last) const
}
else if (first > last)
{
BadArg("show_range", "show to range", "using an out of range start", first);
BadArg("show_range", "show to range", "using an out of range start", first, last);
}
else
{
@ -111,7 +111,7 @@ void CSprite::HideRange(SQInt32 first, SQInt32 last) const
}
else if (first > last)
{
BadArg("hide_range", "hide from range", "using an out of range start", first);
BadArg("hide_range", "hide from range", "using an out of range start", first, last);
}
else
{
@ -194,7 +194,7 @@ void CSprite::SetPositionRange(SQInt32 first, SQInt32 last, const Vector2i & pos
}
else if (first > last)
{
BadArg("set_position_range", "set position for range", "using an out of range start", first);
BadArg("set_position_range", "set position for range", "using an out of range start", first, last);
}
else
{
@ -277,7 +277,7 @@ void CSprite::SetCenterRange(SQInt32 first, SQInt32 last, const Vector2i & pos)
}
else if (first > last)
{
BadArg("set_center_range", "set center for range", "using an out of range start", first);
BadArg("set_center_range", "set center for range", "using an out of range start", first, last);
}
else
{
@ -330,7 +330,7 @@ void CSprite::SetRotationRange(SQInt32 first, SQInt32 last, SQFloat rot) const
}
else if (first > last)
{
BadArg("set_rotation_range", "set rotation for range", "using an out of range start", first);
BadArg("set_rotation_range", "set rotation for range", "using an out of range start", first, last);
}
else
{
@ -383,7 +383,7 @@ void CSprite::SetAlphaRange(SQInt32 first, SQInt32 last, Uint8 alpha) const
}
else if (first > last)
{
BadArg("set_alpha_range", "set alpha for range", "using an out of range start", first);
BadArg("set_alpha_range", "set alpha for range", "using an out of range start", first, last);
}
else
{