# HG changeset patch # User rubidium # Date 2013-07-08 19:42:39 # Node ID f96b9e5c593a7dd6b76cfc368d128ddfc1d5dab3 # Parent af7492cf65206f3b9c4eaf86304575d4b7f06ed1 (svn r25577) -Fix-ish [FS#5638] (r20562): [Script] Documentation implied that XXList::AddItem has a default for value if it isn't filled in. diff --git a/src/script/api/script_list.hpp b/src/script/api/script_list.hpp --- a/src/script/api/script_list.hpp +++ b/src/script/api/script_list.hpp @@ -54,13 +54,16 @@ public: ScriptList(); ~ScriptList(); +#ifdef DOXYGEN_API /** * Add a single item to the list. * @param item the item to add. Should be unique, otherwise it is ignored. * @param value the value to assign. - * @note the value is set to 0 by default. */ + void AddItem(int32 item, int32 value); +#else void AddItem(int32 item, int32 value = 0); +#endif /** * Remove a single item from the list.