summaryrefslogtreecommitdiff
path: root/servergreps/hercules/packets.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-05 20:02:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-05 20:02:10 +0300
commitac54e8261d7707ff5b7f98dc2817b329cf6d275f (patch)
tree43102bb7e13cbae55b00cfb201fa9cdf735d5244 /servergreps/hercules/packets.py
parentec73aec8c5610edb01d89bd6d92c3f31108c2b72 (diff)
downloadevol-tools-ac54e8261d7707ff5b7f98dc2817b329cf6d275f.tar.gz
evol-tools-ac54e8261d7707ff5b7f98dc2817b329cf6d275f.tar.bz2
evol-tools-ac54e8261d7707ff5b7f98dc2817b329cf6d275f.tar.xz
evol-tools-ac54e8261d7707ff5b7f98dc2817b329cf6d275f.zip
servergreps: parse with preprocessor also .c files.
Diffstat (limited to 'servergreps/hercules/packets.py')
-rwxr-xr-xservergreps/hercules/packets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/servergreps/hercules/packets.py b/servergreps/hercules/packets.py
index d654490..559a1c7 100755
--- a/servergreps/hercules/packets.py
+++ b/servergreps/hercules/packets.py
@@ -258,7 +258,8 @@ packetDir = packetVersion
while len(packetDir) < 8:
packetDir = "0" + packetDir
-srcPath = "../../../server-code/src/"
+#srcPath = "../../../server-code/src/"
+srcPath = packetDir + "/src"
namedPacketsPath = packetDir + "/src/packets_struct.h"
manaplusPath = "../../../manaplus/src/"
protocolPath = manaplusPath + "net/eathena/packets"