summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/npc_chat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/npc_chat.c b/src/map/npc_chat.c
index bd39a588c..1324d973c 100644
--- a/src/map/npc_chat.c
+++ b/src/map/npc_chat.c
@@ -25,6 +25,9 @@
#include "pcre.h"
+/// Returns the stack_data at the target index
+#define script_getdata(st,i) &((st)->stack->stack_data[(st)->start+(i)])
+
/**
* Written by MouseJstr in a vision... (2/21/2005)
*