From 7eb109d6ce54266c041c73fd619339270751f333 Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Wed, 27 Feb 2019 03:13:09 +0800 Subject: Change return value from 0 into -1 when *getunitdata return error --- doc/script_commands.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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. --------------------------------------- -- cgit v1.2.3-60-g2f50