mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 07:38:36 +00:00
Edit some uint32 to int32: GetAugmentIDAt, GetItemIDAt, GetItemStat
This commit is contained in:
+2
-2
@@ -7298,7 +7298,7 @@ XS(XS_Mob_GetItemStat)
|
||||
Perl_croak(aTHX_ "Usage: Mob::GetItemStat(THIS, itemid, stat)");
|
||||
{
|
||||
Mob * THIS;
|
||||
uint32 RETVAL;
|
||||
int32 RETVAL;
|
||||
uint32 itemid = (uint32)SvUV(ST(1));
|
||||
Const_char * stat = (Const_char *)SvPV_nolen(ST(2));
|
||||
dXSTARG;
|
||||
@@ -7313,7 +7313,7 @@ XS(XS_Mob_GetItemStat)
|
||||
Perl_croak(aTHX_ "THIS is nullptr, avoiding crash.");
|
||||
|
||||
RETVAL = THIS->GetItemStat(itemid, stat);
|
||||
XSprePUSH; PUSHu((UV)RETVAL);
|
||||
XSprePUSH; PUSHi((IV)RETVAL);
|
||||
}
|
||||
XSRETURN(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user