summaryrefslogtreecommitdiff
path: root/src/map/guild.h
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-07-08 16:28:46 -0300
committerpanikon <panikon@zoho.com>2014-07-08 16:28:46 -0300
commitd1d99a96485a164f850e09c2fff6d0c30657ea9e (patch)
tree58265553753580a2cfde36c919b8d37262d485f3 /src/map/guild.h
parent36712df4cf1f7fbc1a78eb4a7afee1630fa4c4be (diff)
downloadhercules-d1d99a96485a164f850e09c2fff6d0c30657ea9e.tar.gz
hercules-d1d99a96485a164f850e09c2fff6d0c30657ea9e.tar.bz2
hercules-d1d99a96485a164f850e09c2fff6d0c30657ea9e.tar.xz
hercules-d1d99a96485a164f850e09c2fff6d0c30657ea9e.zip
Removed redundant data from guardian_data, saving up to 40 bytes per guardian (10240 bytes total)
Diffstat (limited to 'src/map/guild.h')
-rw-r--r--src/map/guild.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/map/guild.h b/src/map/guild.h
index 34e27a56c..f9d97241d 100644
--- a/src/map/guild.h
+++ b/src/map/guild.h
@@ -24,13 +24,15 @@ struct eventlist {
char name[EVENT_NAME_LENGTH];
struct eventlist *next;
};
-//For quick linking to a guardian's info. [Skotlex]
+
+/**
+ * Guardian data
+ * For quick linking to a guardian's info. [Skotlex]
+ **/
struct guardian_data {
int number; //0-MAX_GUARDIANS-1 = Guardians. MAX_GUARDIANS = Emperium.
- int guild_id;
- int emblem_id;
- int guardup_lv; //Level of GD_GUARDUP skill.
- char guild_name[NAME_LENGTH];
+
+ struct guild *g;
struct guild_castle* castle;
};
struct guild_expcache {