diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-10-31 13:24:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-10-31 13:24:13 -0300 |
commit | 5dd8305335159d853c28b531090e22da35346bd4 (patch) | |
tree | e6e441c2d045ce756b78b76b800d89ec9d9baef5 | |
parent | 1fcd85d491c9c98052c2e8692d0e2c6ed1b82939 (diff) | |
download | evol-hercules-5dd8305335159d853c28b531090e22da35346bd4.tar.gz evol-hercules-5dd8305335159d853c28b531090e22da35346bd4.tar.bz2 evol-hercules-5dd8305335159d853c28b531090e22da35346bd4.tar.xz evol-hercules-5dd8305335159d853c28b531090e22da35346bd4.zip |
This should do the trick
-rw-r--r-- | src/emap/script_buildins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index b897700..074c1df 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -2823,7 +2823,7 @@ BUILDIN(homstatus) // Return the status (0 - active; 1 - resting ; 2 - mission) // BUT Dead homunculus is not active (send RESTING instead) - if (!homun_alive(sd->hd)) + if (!sd->hd->homunculus.vaporize && !homun_alive(sd->hd)) script_pushint(st,1); else script_pushint(st,sd->hd->homunculus.vaporize); |