From 1d064776214d3f962b9af585555cca686906665a Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 14 Sep 2015 16:13:00 +0200 Subject: Changed struct script_queue_iterator::item into a VECTOR and Renamed to ::entries Signed-off-by: Haru --- src/map/script.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/script.h') diff --git a/src/map/script.h b/src/map/script.h index 6b728ab88..b153cf81a 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -410,9 +410,9 @@ struct script_queue { * Iterator for a struct script_queue. */ struct script_queue_iterator { - int *item; ///< Items in the queue (iterator's cached copy) - int items; ///< Amount of elements in \c item - int pos; ///< Iterator's cursor + VECTOR_DECL(int) entries; ///< Entries in the queue (iterator's cached copy) + bool valid; ///< Whether the queue is valid (initialized - not necessarily having entries available) + int pos; ///< Iterator's cursor }; struct script_state { -- cgit v1.2.3-60-g2f50