diff options
author | aleos <aleos@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2013-04-08 22:30:12 +0000 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-04-11 16:38:28 -0300 |
commit | 13d907bb2548c75d19a6a3c85bcd2014e184f936 (patch) | |
tree | ab625e23a267d96ca2a86a0942402dee11e2664a /src/map/script.c | |
parent | 20bf5d10514810b19f48437fe5b0efc4e8e20092 (diff) | |
download | hercules-13d907bb2548c75d19a6a3c85bcd2014e184f936.tar.gz hercules-13d907bb2548c75d19a6a3c85bcd2014e184f936.tar.bz2 hercules-13d907bb2548c75d19a6a3c85bcd2014e184f936.tar.xz hercules-13d907bb2548c75d19a6a3c85bcd2014e184f936.zip |
* Adjusted @speed so it is no longer reset when a player's status is recalculated. Log out or use @speed -1 to reset to default. (bugreport:7306)
> Follow up to r17220:
* Added an extra check if a player does not have a homunculus for 'hommutate' and 'morphembryo'
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17236 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index c65ce5c24..ce312e894 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10152,7 +10152,7 @@ BUILDIN_FUNC(homunculus_mutate) TBL_PC *sd; sd = script_rid2sd(st); - if( sd == NULL ) + if( sd == NULL || sd->hd == NULL ) return 0; if(script_hasdata(st,2)) |