summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-24 23:38:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-24 23:38:48 +0300
commitd8603c474f62f62d3759b03ea317836383ba463c (patch)
treeb56170afec743882e51fd3ff417459a60992c416
parentab092915707f455e8d90a75b5f9138c6d50cf2d9 (diff)
downloadevol-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.c2
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));