summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-23 07:14:39 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-23 07:14:39 +0000
commit68eece1dc1f4406e39ed1aba3627da7673fb051d (patch)
treec6087a7931b780b610df8fa0f9cca9d951168f19
parentc53edaa51981d0bbb696b15792c0ab5726113c83 (diff)
downloadhercules-68eece1dc1f4406e39ed1aba3627da7673fb051d.tar.gz
hercules-68eece1dc1f4406e39ed1aba3627da7673fb051d.tar.bz2
hercules-68eece1dc1f4406e39ed1aba3627da7673fb051d.tar.xz
hercules-68eece1dc1f4406e39ed1aba3627da7673fb051d.zip
* Temporary resolved npc_chat.c macro issue. Please revise where to put the macros.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10057 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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)
*