mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Fix $npc->RecalculateSkills() in Perl.
This commit is contained in:
parent
6bdc1ffffb
commit
1292e1c9c0
@ -2479,7 +2479,7 @@ XS(XS_NPC_SetSimpleRoamBox) {
|
||||
XS(XS_NPC_RecalculateSkills); /* prototype to pass -Wmissing-prototypes */
|
||||
XS(XS_NPC_RecalculateSkills) {
|
||||
dXSARGS;
|
||||
if (items != 2)
|
||||
if (items != 1)
|
||||
Perl_croak(aTHX_ "Usage: NPC::RecalculateSkills(THIS)");
|
||||
{
|
||||
NPC *THIS;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user