[Bug Fix] Objects::GetTiltX() and Objects::GetTiltY() Perl Croak Typos. (#2028)

- Typo was causing GetIncline() to show three times on Spire and causing GetTiltX() and GetTiltY() not to show at all on Spire.
This commit is contained in:
Kinglykrab 2022-03-03 22:06:25 -05:00 committed by GitHub
parent 2dfb7614cc
commit cc2ef11158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -666,7 +666,7 @@ XS(XS_Object_GetTiltX); /* prototype to pass -Wmissing-prototypes */
XS(XS_Object_GetTiltX) { XS(XS_Object_GetTiltX) {
dXSARGS; dXSARGS;
if (items != 1) if (items != 1)
Perl_croak(aTHX_ "Usage: Object::GetSize(THIS)"); Perl_croak(aTHX_ "Usage: Object::GetTiltX(THIS)"); // @categories Objects
{ {
Object *THIS; Object *THIS;
float RETVAL; float RETVAL;
@ -683,7 +683,7 @@ XS(XS_Object_GetTiltY); /* prototype to pass -Wmissing-prototypes */
XS(XS_Object_GetTiltY) { XS(XS_Object_GetTiltY) {
dXSARGS; dXSARGS;
if (items != 1) if (items != 1)
Perl_croak(aTHX_ "Usage: Object::GetSize(THIS)"); Perl_croak(aTHX_ "Usage: Object::GetTiltY(THIS)"); // @categories Objects
{ {
Object *THIS; Object *THIS;
float RETVAL; float RETVAL;