Typo fix
* Fixed typo in warning message of `getcastledata` Signed-off-by: Cydh Ramdh <cydh@pservero.com>
This commit is contained in:
parent
6a457bef79
commit
cf80d72359
@ -12389,7 +12389,7 @@ BUILDIN_FUNC(getcastledata)
|
|||||||
|
|
||||||
if (gc == NULL) {
|
if (gc == NULL) {
|
||||||
script_pushint(st,0);
|
script_pushint(st,0);
|
||||||
ShowWarning("buildin_setcastledata: guild castle for map '%s' not found\n", mapname);
|
ShowWarning("buildin_getcastledata: guild castle for map '%s' not found\n", mapname);
|
||||||
return SCRIPT_CMD_FAILURE;
|
return SCRIPT_CMD_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12418,7 +12418,7 @@ BUILDIN_FUNC(getcastledata)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
script_pushint(st,0);
|
script_pushint(st,0);
|
||||||
ShowWarning("buildin_setcastledata: index = '%d' is out of allowed range\n", index);
|
ShowWarning("buildin_getcastledata: index = '%d' is out of allowed range\n", index);
|
||||||
return SCRIPT_CMD_FAILURE;
|
return SCRIPT_CMD_FAILURE;
|
||||||
}
|
}
|
||||||
return SCRIPT_CMD_SUCCESS;
|
return SCRIPT_CMD_SUCCESS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user