From e22532da29520b10ed4d444993b1c75965bd2a4e Mon Sep 17 00:00:00 2001 From: actboy168 Date: Mon, 31 Mar 2014 20:36:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9C=B0=E5=9B=BE=E6=89=80?= =?UTF-8?q?=E5=9C=A8=E6=96=87=E4=BB=B6=E5=A4=B9=E7=9A=84=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Development/Editor/Core/Script/Lua/compile/wave.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Development/Editor/Core/Script/Lua/compile/wave.lua b/Development/Editor/Core/Script/Lua/compile/wave.lua index f8417c9c9..d85e53e7c 100644 --- a/Development/Editor/Core/Script/Lua/compile/wave.lua +++ b/Development/Editor/Core/Script/Lua/compile/wave.lua @@ -22,6 +22,7 @@ function wave:do_compile(op) cmd = cmd .. '--autooutput ' cmd = cmd .. string.format('--sysinclude="%s" ', self.sys_include_path:string()) cmd = cmd .. string.format('--sysinclude="%s" ', self.plugin_include_path:string()) + cmd = cmd .. string.format('--include="%s" ', op.map_path:parent_path():string()) cmd = cmd .. string.format('--include="%s" ', self.jass_include_path:string()) cmd = cmd .. string.format('--define=WARCRAFT_VERSION=%d ', 100 * op.option.runtime_version.major + op.option.runtime_version.minor) cmd = cmd .. string.format('--define=YDWE_VERSION_STRING=\\"%s\\" ', tostring(ydwe_version))