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:
parent
60656ff312
commit
cfd04271c2
@ -485,9 +485,6 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user