summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-29 18:14:24 -0300
committershennetsind <ind@henn.et>2013-07-29 18:14:24 -0300
commit7aa9e6e8b1036a74281c990f850a0c398701c298 (patch)
tree8afd1a162910491347390fcde1b3883d217f03cf /src/map/script.h
parent640c66779d8da4baa8af6bd0fee2583ec2b6143c (diff)
downloadhercules-7aa9e6e8b1036a74281c990f850a0c398701c298.tar.gz
hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.tar.bz2
hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.tar.xz
hercules-7aa9e6e8b1036a74281c990f850a0c398701c298.zip
BG Queue Fixes
Cleared 3 out of 5, #69 Support for the cancel button, for pre-game position to return afterwards and fix to the queue position problem after first game. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 82224a7af..774101eb3 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -142,7 +142,8 @@ struct script_stack {
struct hQueue {
int id;
int *item;
- int items;
+ int items;/* how many actual items are in the array */
+ int size;/* size of the *item array, not the current amount of items in it since it can have empty slots */
/* events */
char onLogOut[EVENT_NAME_LENGTH];
char onDeath[EVENT_NAME_LENGTH];