summaryrefslogtreecommitdiff
path: root/src/map/elemental.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-09 20:49:09 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-09 20:49:09 +0000
commit25892a33371561def57c1b554165b0a8220e9114 (patch)
treed032fa7cff1f80b5439e7d8f7340f190c77823de /src/map/elemental.c
parenta37549d260bb341f567dd99f6daf5cb06836c149 (diff)
downloadhercules-25892a33371561def57c1b554165b0a8220e9114.tar.gz
hercules-25892a33371561def57c1b554165b0a8220e9114.tar.bz2
hercules-25892a33371561def57c1b554165b0a8220e9114.tar.xz
hercules-25892a33371561def57c1b554165b0a8220e9114.zip
Dropped a incredibly wasteful and pointless (why was that there i wonder) 3100byte => ~3kb memory waste PER active elemental unit in the server
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16894 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/elemental.c')
-rw-r--r--src/map/elemental.c5
1 files changed, 1 insertions, 4 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);
}