diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-22 20:07:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-22 20:07:51 +0300 |
commit | 8a3e60e6597e3e3410eddbbc085825bd1c7a0d2c (patch) | |
tree | 7847a5b87a981aa45bf7c90abfa17b832bdfb40c /hercules | |
parent | 7f67117ec3257f70971d279176e705b523ba64a0 (diff) | |
download | evol-tools-8a3e60e6597e3e3410eddbbc085825bd1c7a0d2c.tar.gz evol-tools-8a3e60e6597e3e3410eddbbc085825bd1c7a0d2c.tar.bz2 evol-tools-8a3e60e6597e3e3410eddbbc085825bd1c7a0d2c.tar.xz evol-tools-8a3e60e6597e3e3410eddbbc085825bd1c7a0d2c.zip |
hercules: fix sprite direction names in server to client converter.
Diffstat (limited to 'hercules')
-rw-r--r-- | hercules/code/servertoclient/sprites.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hercules/code/servertoclient/sprites.py b/hercules/code/servertoclient/sprites.py index 36cb9b3..9873d40 100644 --- a/hercules/code/servertoclient/sprites.py +++ b/hercules/code/servertoclient/sprites.py @@ -281,13 +281,13 @@ def extractSpriteAnimData(act, spr, actIndex, direction): def extractSpriteDataAll(act, spr, actIndex, name): data = extractSpriteAnimData(act, spr, actIndex, "down") - data = data + extractSpriteAnimData(act, spr, actIndex + 1, "leftdown") + data = data + extractSpriteAnimData(act, spr, actIndex + 1, "downleft") data = data + extractSpriteAnimData(act, spr, actIndex + 2, "left") - data = data + extractSpriteAnimData(act, spr, actIndex + 3, "leftup") + data = data + extractSpriteAnimData(act, spr, actIndex + 3, "upleft") data = data + extractSpriteAnimData(act, spr, actIndex + 4, "up") - data = data + extractSpriteAnimData(act, spr, actIndex + 5, "rightup") + data = data + extractSpriteAnimData(act, spr, actIndex + 5, "upright") data = data + extractSpriteAnimData(act, spr, actIndex + 6, "right") - data = data + extractSpriteAnimData(act, spr, actIndex + 6, "rightdown") + data = data + extractSpriteAnimData(act, spr, actIndex + 6, "downright") return data def saveSpriteXml(act, spr, spriteDir, spriteName): |