mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 05:16:37 +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:
@@ -95,7 +95,7 @@ XS(XS_QuestItem_IsType) {
|
||||
uint32 type = (int32) SvIV(ST(1));
|
||||
VALIDATE_THIS_IS_ITEM;
|
||||
RETVAL = THIS->IsType((EQ::item::ItemClass) type);
|
||||
ST(0) = boolSV(RETVAL);
|
||||
ST(0) = boolSV(RETVAL);
|
||||
sv_2mortal(ST(0));
|
||||
}
|
||||
XSRETURN(1);
|
||||
|
||||
Reference in New Issue
Block a user