PennMUSH Community

Ticket #7614 (closed documentation: fixed)

Opened 5 months ago

Last modified 1 month ago

Documentation Incorrect for has_flag_in_space_by_name

Reported by: Briggs Assigned to:
Priority: minor Milestone: 1.8.3p7
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"

Change History

09/12/08 18:49:08 changed by raevnos

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 1.8.3p7.