PennMUSH Community

Ticket #7614 (new documentation)

Opened 3 months ago

Documentation Incorrect for has_flag_in_space_by_name

Reported by: Briggs Assigned to:
Priority: minor Milestone:
Keywords: Cc:
Visibility: Public

Description

Documentation for the has_flag_in_space_by_name in flags.c shows the following:

  • \retval 1 object has the flag.
  • \retval 0 object does not have the flag.

However, I have found in my coding that it actually returns other values. For instance, calling it (through has_flag_by_name) for my wizard character as executor has_flag_by_name(executor,"WIZARD",NOTYPE) resulted in a return of "16"