summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-12 21:02:59 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-12 21:02:59 +0000
commit882a3192acdd6ca2a6e50fc0f9fc877bc454efb7 (patch)
treed5cf4bf03fe0c2a8698aa088c0a17ebfe4d4f9a9 /src/map/map.h
parentcf66ac82f7269a192f31f9465b1187e73635ceb5 (diff)
downloadhercules-882a3192acdd6ca2a6e50fc0f9fc877bc454efb7.tar.gz
hercules-882a3192acdd6ca2a6e50fc0f9fc877bc454efb7.tar.bz2
hercules-882a3192acdd6ca2a6e50fc0f9fc877bc454efb7.tar.xz
hercules-882a3192acdd6ca2a6e50fc0f9fc877bc454efb7.zip
Removed one mob data variable related to dynamic mobs that I found to be redundant.
Changed MAX_MOBSKILL (max. amount of different skill entries per mob) from 50 to 40 to reduce memory consumption a bit more. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12350 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 2a9666742..194a49304 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -37,7 +37,7 @@
#define MAX_SKILLUNITGROUP 25
#define MAX_SKILLUNITGROUPTICKSET 25
#define MAX_SKILLTIMERSKILL 15
-#define MAX_MOBSKILL 50
+#define MAX_MOBSKILL 40
#define MAX_MOB_LIST_PER_MAP 128
#define MAX_EVENTQUEUE 2
#define MAX_EVENTTIMER 32
@@ -913,7 +913,6 @@ struct mob_data {
} dmglog[DAMAGELOG_SIZE];
struct spawn_data *spawn; //Spawn data.
struct item *lootitem;
- short spawn_n; //Spawn data index on the map server.
short class_;
unsigned int tdmg; //Stores total damage given to the mob, for exp calculations. [Skotlex]
int level;