From 9b5c358e45804e93eb9e6a9a33a9f8d3cfb4a8eb Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> Date: Wed, 2 Feb 2005 04:26:34 +0000 Subject: * 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 --- src/map/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.h') 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 { -- cgit v1.2.3-70-g09d2