summaryrefslogtreecommitdiff
path: root/hercules/code/server/tmw
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-02 14:19:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-02 14:19:02 +0300
commit7cd21354830999e6f95a9ebc6fc4c18f11bec9ab (patch)
tree853c54848fc8c06c160e250618e3d9b068eaf04f /hercules/code/server/tmw
parentad3363575f426385189c7083ca32ecdac7d2e584 (diff)
downloadevol-tools-7cd21354830999e6f95a9ebc6fc4c18f11bec9ab.tar.gz
evol-tools-7cd21354830999e6f95a9ebc6fc4c18f11bec9ab.tar.bz2
evol-tools-7cd21354830999e6f95a9ebc6fc4c18f11bec9ab.tar.xz
evol-tools-7cd21354830999e6f95a9ebc6fc4c18f11bec9ab.zip
hercules: tmw: in npc scripts replace isdead to ispcdead.
Diffstat (limited to 'hercules/code/server/tmw')
-rw-r--r--hercules/code/server/tmw/npcs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hercules/code/server/tmw/npcs.py b/hercules/code/server/tmw/npcs.py
index 14e3e5c..620e39c 100644
--- a/hercules/code/server/tmw/npcs.py
+++ b/hercules/code/server/tmw/npcs.py
@@ -303,6 +303,7 @@ def processStrReplace(tracker):
line = line.replace("set Class, @BaseClass;", "//set Class, @BaseClass;")
line = line.replace("goto_Exit;", "goto L_Exit;")
line = line.replace("if @spants_state < 7 goto", "if(@spants_state < 7) goto")
+ line = line.replace("isdead()", "ispcdead()")
line = line.replace("getmap()", "getmapname()")
line = line.replace("L_end", "L_End")