diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-04-07 16:10:02 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-04-07 16:10:02 +0000 |
commit | 490d9a982e70974d2f4e09eea4c14e1146839fbe (patch) | |
tree | 75aa544b32b3cea23fbb4e21c601a6c6466f1fc3 /src | |
parent | 110b5e6c908fb2e7187b60812f55076adb0434fc (diff) | |
download | hercules-490d9a982e70974d2f4e09eea4c14e1146839fbe.tar.gz hercules-490d9a982e70974d2f4e09eea4c14e1146839fbe.tar.bz2 hercules-490d9a982e70974d2f4e09eea4c14e1146839fbe.tar.xz hercules-490d9a982e70974d2f4e09eea4c14e1146839fbe.zip |
* Fixed monster skill associated emotions were always ignored when having less than three digits ( = all ) (bugreport:4842).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14778 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 9bd8c086c..1626f49a0 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -4167,7 +4167,7 @@ static bool mob_parse_row_mobskilldb(char** str, int columns, int current) ms->val[1] = 0; //Do not "set" it. } - if(str[17] != NULL && strlen(str[17])>2) + if(*str[17]) ms->emotion=atoi(str[17]); else ms->emotion=-1; |