Skip to content

Commit

Permalink
add a remark to script_array_size
Browse files Browse the repository at this point in the history
  • Loading branch information
guilherme-gm committed Oct 15, 2023
1 parent 8178f1a commit 3c508c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/map/script.c
Original file line number Diff line number Diff line change
Expand Up @@ -3450,6 +3450,9 @@ static void script_array_ensure_zero(struct script_state *st, struct map_session
}
/**
* Returns array size by ID
* @remarks
* "size" here refers to allocated indexes, where non-zero values are set.
* For the highest used index, see script_array_highest_key
**/
static unsigned int script_array_size(struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref)
{
Expand Down

0 comments on commit 3c508c4

Please sign in to comment.