diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-24 23:38:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-24 23:38:48 +0300 |
commit | d8603c474f62f62d3759b03ea317836383ba463c (patch) | |
tree | b56170afec743882e51fd3ff417459a60992c416 | |
parent | ab092915707f455e8d90a75b5f9138c6d50cf2d9 (diff) | |
download | evol-hercules-d8603c474f62f62d3759b03ea317836383ba463c.tar.gz evol-hercules-d8603c474f62f62d3759b03ea317836383ba463c.tar.bz2 evol-hercules-d8603c474f62f62d3759b03ea317836383ba463c.tar.xz evol-hercules-d8603c474f62f62d3759b03ea317836383ba463c.zip |
Fix changing homunculus or mercenary direction.
-rw-r--r-- | src/emap/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/parse.c b/src/emap/parse.c index f034334..c893a5f 100644 --- a/src/emap/parse.c +++ b/src/emap/parse.c @@ -218,7 +218,7 @@ void map_parse_homun_emote(int fd) void map_parse_homun_dir(int fd) { TBL_PC* sd = (TBL_PC*)sockt->session[fd]->session_data; - if (!sd || !sd->pd) + if (!sd) return; if (sd->md && sd->md->db) unit->setdir(&sd->md->bl, RFIFOB(fd, 8)); |