瀏覽代碼

* Temporary resolved npc_chat.c macro issue. Please revise where to put the macros.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10057 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance 18 年之前
父節點
當前提交
969c49d07c
共有 2 個文件被更改,包括 5 次插入0 次删除
  1. 2 0
      Changelog-Trunk.txt
  2. 3 0
      src/map/npc_chat.c

+ 2 - 0
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)

+ 3 - 0
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)
  *