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://svn.code.sf.net/p/rathena/svn/trunk@16894 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-11-09 20:49:09 +00:00
parent 60656ff312
commit cfd04271c2
2 changed files with 1 additions and 5 deletions

View File

@ -484,10 +484,7 @@ int elemental_skillnotok(int skillid, struct elemental_data *ed) {
if (i == 0) if (i == 0)
return 1; // invalid skill id return 1; // invalid skill id
if( ed->blockskill[i] > 0 )
return 1;
return skillnotok(skillid, ed->master); return skillnotok(skillid, ed->master);
} }

View File

@ -46,7 +46,6 @@ struct elemental_data {
struct s_elemental_db *db; struct s_elemental_db *db;
struct s_elemental elemental; struct s_elemental elemental;
char blockskill[MAX_SKILL];
struct map_session_data *master; struct map_session_data *master;
int summon_timer; int summon_timer;