diff options
author | AnnieRuru <jeankofannie2@gmail.com> | 2019-02-27 03:13:09 +0800 |
---|---|---|
committer | AnnieRuru <jeankofannie2@gmail.com> | 2019-02-27 03:13:09 +0800 |
commit | 7eb109d6ce54266c041c73fd619339270751f333 (patch) | |
tree | b7555ae3491c6179b0e171f88561f89ee41cf48d /doc/script_commands.txt | |
parent | d496d8963fb4c2eb9015a2911a88299e29644681 (diff) | |
download | hercules-7eb109d6ce54266c041c73fd619339270751f333.tar.gz hercules-7eb109d6ce54266c041c73fd619339270751f333.tar.bz2 hercules-7eb109d6ce54266c041c73fd619339270751f333.tar.xz hercules-7eb109d6ce54266c041c73fd619339270751f333.zip |
Change return value from 0 into -1 when *getunitdata return error
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index db851128f..c3cc8a799 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -10159,7 +10159,7 @@ Applicable Data types (available as constants) - UDT_LIFETIME: LifeTime (int) - for summons. UDT_MERC_KILLCOUNT: Kill count for mercenaries (int). -returns 0 if value could not be retrieved. +returns -1 if value could not be retrieved. --------------------------------------- |