summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-28 16:26:08 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-28 16:26:08 +0000
commit19082e5aa65c7c1ba3bc679393132b8e94f2693b (patch)
tree418a4dbe2a62440d757330a2682e1108d8764be7 /src/map/skill.c
parent6a9d17e48f65570c8504e862cfeb8fe3822a59c8 (diff)
downloadhercules-19082e5aa65c7c1ba3bc679393132b8e94f2693b.tar.gz
hercules-19082e5aa65c7c1ba3bc679393132b8e94f2693b.tar.bz2
hercules-19082e5aa65c7c1ba3bc679393132b8e94f2693b.tar.xz
hercules-19082e5aa65c7c1ba3bc679393132b8e94f2693b.zip
- Fixed a possible crash due to the recent core.c upgrade.
- Changing setting the Guild Master from pc_authok to clif_parse_LoadEndAck so that it will not fail to set the gmaster flag when the first person of a guild to log on is the guild master. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9347 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index ee3619822..60153cfb5 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8355,8 +8355,6 @@ int skill_check_condition (struct map_session_data *sd, int skill, int lv, int t
case GD_EMERGENCYCALL:
if (!sd->status.guild_id || !sd->state.gmaster_flag)
return 0;
- if (lv <= 0)
- return 0;
break;
case GS_GLITTERING: