diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/emap/script_buildins.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index 9acbf7c..21045e9 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -2982,17 +2982,17 @@ BUILDIN(recallhomunculus) *------------------------------------------*/ BUILDIN(homstatus) { - struct map_session_data *sd = script->rid2sd(st); - if (sd == NULL || sd->hd == NULL) - return true; + struct map_session_data *sd = script->rid2sd(st); + if (sd == NULL || sd->hd == NULL) + return true; - // Return the status (0 - active; 1 - resting ; 2 - mission) + // Return the status (0 - active; 1 - resting ; 2 - mission) // BUT Dead homunculus is not active (send RESTING instead) - if (!sd->hd->homunculus.vaporize && !homun_alive(sd->hd)) - script_pushint(st,1); + if (!sd->hd->homunculus.vaporize && !homun_alive(sd->hd)) + script_pushint(st,1); else - script_pushint(st,sd->hd->homunculus.vaporize); - return true; + script_pushint(st,sd->hd->homunculus.vaporize); + return true; } |