summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/npc_chat.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 6c78c0458..12ae83ee9 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/03/23
+ * Temporary resolved npc_chat.c macro issue. Please revise where to put
+ the macros. [Lance]
* Major reconfiguration of the vs7 project files (+vs8 while I was at it)
- added definitions _DEBUG and NDEBUG to tune system-specific stuff
- reduced the build requirements (Pentium 4 was a bit too much)
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)
*