summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/elemental.c5
-rw-r--r--src/map/elemental.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/src/map/elemental.c b/src/map/elemental.c
index 1157e851e..770047138 100644
--- a/src/map/elemental.c
+++ b/src/map/elemental.c
@@ -484,10 +484,7 @@ int elemental_skillnotok(int skillid, struct elemental_data *ed) {
if (i == 0)
return 1; // invalid skill id
-
- if( ed->blockskill[i] > 0 )
- return 1;
-
+
return skillnotok(skillid, ed->master);
}
diff --git a/src/map/elemental.h b/src/map/elemental.h
index 698cf6fb9..1f99bcba9 100644
--- a/src/map/elemental.h
+++ b/src/map/elemental.h
@@ -46,7 +46,6 @@ struct elemental_data {
struct s_elemental_db *db;
struct s_elemental elemental;
- char blockskill[MAX_SKILL];
struct map_session_data *master;
int summon_timer;