diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-05-17 07:21:21 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-01 02:01:56 +0200 |
commit | 84149ebf0165ed67cd420335ddc66e7f58ac93ea (patch) | |
tree | 0bad3f67d7c1a9c918601480c2a633017b226741 | |
parent | 451c0804fb72d5c4131c191f2f98dd9d7d9efbd7 (diff) | |
download | hercules-84149ebf0165ed67cd420335ddc66e7f58ac93ea.tar.gz hercules-84149ebf0165ed67cd420335ddc66e7f58ac93ea.tar.bz2 hercules-84149ebf0165ed67cd420335ddc66e7f58ac93ea.tar.xz hercules-84149ebf0165ed67cd420335ddc66e7f58ac93ea.zip |
Add missing types to skill_validate_unit_target_sub()
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 9b9c17b21..7a46026b1 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -22900,6 +22900,10 @@ static int skill_validate_unit_target_sub(const char *target) ret_val = BCT_SELF; else if (strcmpi(target, "SameGuild") == 0) ret_val = BCT_SAMEGUILD; + else if (strcmpi(target, "GuildAlly") == 0) + ret_val = BCT_GUILDALLY; + else if (strcmpi(target, "Neutral") == 0) + ret_val = BCT_NEUTRAL; else if (strcmpi(target, "None") != 0) ret_val = -1; |