mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 22:06:46 +00:00
[Cleanup] Quest API push methods using invalid types. (#2172)
* [Cleanup] Quest API push methods using invalid types. - Some push methods were pushing integers as unsigned integers or unsigned integer as integers, this fixes all of that. - Also cleans up some lines that had multiple function calls on them. * More cleanup of bools and one expansion name was wrong.
This commit is contained in:
+2
-2
@@ -1282,7 +1282,7 @@ XS(XS_NPC_GetNPCStat) {
|
||||
|
||||
RETVAL = THIS->GetNPCStat(identifier);
|
||||
XSprePUSH;
|
||||
PUSHn((double)RETVAL);
|
||||
PUSHn((double) RETVAL);
|
||||
}
|
||||
XSRETURN(1);
|
||||
}
|
||||
@@ -1496,7 +1496,7 @@ XS(XS_NPC_GetScore) {
|
||||
VALIDATE_THIS_IS_NPC;
|
||||
RETVAL = THIS->GetScore();
|
||||
XSprePUSH;
|
||||
PUSHi((UV) RETVAL);
|
||||
PUSHi((IV) RETVAL);
|
||||
}
|
||||
XSRETURN(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user