mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Merge pull request #1083 from EQEmu/recalculate_skills
Fix $npc->RecalculateSkills() in Perl.
This commit is contained in:
commit
2a19ad0197
@ -2479,7 +2479,7 @@ XS(XS_NPC_SetSimpleRoamBox) {
|
|||||||
XS(XS_NPC_RecalculateSkills); /* prototype to pass -Wmissing-prototypes */
|
XS(XS_NPC_RecalculateSkills); /* prototype to pass -Wmissing-prototypes */
|
||||||
XS(XS_NPC_RecalculateSkills) {
|
XS(XS_NPC_RecalculateSkills) {
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
if (items != 2)
|
if (items != 1)
|
||||||
Perl_croak(aTHX_ "Usage: NPC::RecalculateSkills(THIS)");
|
Perl_croak(aTHX_ "Usage: NPC::RecalculateSkills(THIS)");
|
||||||
{
|
{
|
||||||
NPC *THIS;
|
NPC *THIS;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user