summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-02 04:26:34 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-02 04:26:34 +0000
commit9b5c358e45804e93eb9e6a9a33a9f8d3cfb4a8eb (patch)
treefd182f66b8d42872dc5aa972448c1256b1314df4 /src/map/map.h
parentc06b6f595d99b11e28e044377edf76ceb19f535c (diff)
downloadhercules-9b5c358e45804e93eb9e6a9a33a9f8d3cfb4a8eb.tar.gz
hercules-9b5c358e45804e93eb9e6a9a33a9f8d3cfb4a8eb.tar.bz2
hercules-9b5c358e45804e93eb9e6a9a33a9f8d3cfb4a8eb.tar.xz
hercules-9b5c358e45804e93eb9e6a9a33a9f8d3cfb4a8eb.zip
* Added crash check for Ice Wall
- reduce mob_data->size variable to 1 bytes - change from if-else to switch statements in buildin_strmobinfo git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1020 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 565f68dbc..5944167ad 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -456,7 +456,7 @@ struct mob_data {
struct skill_unit_group skillunit[MAX_MOBSKILLUNITGROUP];
struct skill_unit_group_tickset skillunittick[MAX_SKILLUNITGROUPTICKSET];
char npc_event[50];
- short size;
+ unsigned char size;
int owner;
};
struct pet_data {