mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-04 01:52:26 +00:00
Fix perl version of GetBuffSlotFromType
This commit is contained in:
parent
2fde9edb41
commit
705295f4c4
@ -1464,7 +1464,7 @@ XS(XS_Mob_GetBuffSlotFromType)
|
|||||||
Mob * THIS;
|
Mob * THIS;
|
||||||
int8 RETVAL;
|
int8 RETVAL;
|
||||||
dXSTARG;
|
dXSTARG;
|
||||||
uint8 type = (uint8)SvUV(ST(1));
|
uint16 type = (uint16)SvUV(ST(1));
|
||||||
|
|
||||||
if (sv_derived_from(ST(0), "Mob")) {
|
if (sv_derived_from(ST(0), "Mob")) {
|
||||||
IV tmp = SvIV((SV*)SvRV(ST(0)));
|
IV tmp = SvIV((SV*)SvRV(ST(0)));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user