From 7d0670e755c689eed12af0f8b89b936557f897c9 Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 26 Jul 2007 23:27:40 +0000 Subject: * Cleaned up mob drop code, crashfix is still needed though... * Reduced ignore-list length to 20, added proper reply packet * Cleaned up some very poorly written pm-ignore code (see r141) * Fixed a typo in Warp Portal code displaying an incorrect map name git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10915 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'src/map/mob.h') diff --git a/src/map/mob.h b/src/map/mob.h index 190cf799b..c17104d6e 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -129,21 +129,15 @@ enum { }; -/*========================================== - * The structure object for item drop with delay - * Since it is only two being able to pass [ int ] a timer function - * Data is put in and passed to this structure object. - *------------------------------------------ - */ +// The data structures for storing delayed item drops struct item_drop { struct item item_data; - struct item_drop *next; + struct item_drop* next; }; - struct item_drop_list { - int m,x,y; - struct map_session_data *first_sd,*second_sd,*third_sd; - struct item_drop *item; + int m, x, y; // coordinates + struct map_session_data *first_sd, *second_sd, *third_sd; // sd's of players with higher pickup priority + struct item_drop* item; // linked list of drops }; struct mob_db* mob_db(int class_); -- cgit v1.2.3-70-g09d2