summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-18 20:35:14 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-18 20:35:14 +0000
commit3fffd37b5c8c579ffd540ac60c97a047f2d6eda1 (patch)
tree7431afbf222f08190e7e640a2d301ebc6982255d /src/map
parent9931cc22ecf92962c9a3218d075b55a44152862a (diff)
downloadhercules-3fffd37b5c8c579ffd540ac60c97a047f2d6eda1.tar.gz
hercules-3fffd37b5c8c579ffd540ac60c97a047f2d6eda1.tar.bz2
hercules-3fffd37b5c8c579ffd540ac60c97a047f2d6eda1.tar.xz
hercules-3fffd37b5c8c579ffd540ac60c97a047f2d6eda1.zip
- Fixed a sad crash in the login-txt server. Thanks to Flavio JS for pointing it out.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8352 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index af6a337ca..e1aff8f85 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8265,7 +8265,7 @@ int skill_check_condition (struct map_session_data *sd, int skill, int lv, int t
case GD_REGENERATION:
case GD_RESTORE:
//Emergency Recall is handled on skill_notok
- if (skill != GD_EMERGENCYCALL && !agit_flag) {
+ if (!agit_flag) {
clif_skill_fail(sd,skill,0,0);
return 0;
}