diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-19 14:51:23 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-19 14:51:23 +0000 |
commit | a2decc5d8acbf0c309c1396d4023c490d6e6a038 (patch) | |
tree | b1e1a3534c56c567b11fe3aa1b3fdf6a57cc7903 /src/map/party.h | |
parent | aee3755b6d780c3261bdec2aef4d517bc7c7b148 (diff) | |
download | hercules-a2decc5d8acbf0c309c1396d4023c490d6e6a038.tar.gz hercules-a2decc5d8acbf0c309c1396d4023c490d6e6a038.tar.bz2 hercules-a2decc5d8acbf0c309c1396d4023c490d6e6a038.tar.xz hercules-a2decc5d8acbf0c309c1396d4023c490d6e6a038.zip |
Random cleaning of party.c in attempt to make party_send_xy_timer() crashes a bit clearer...
- now party_db is iterated instead of using foreach()
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11761 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.h')
-rw-r--r-- | src/map/party.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/party.h b/src/map/party.h index c32863602..8329647b2 100644 --- a/src/map/party.h +++ b/src/map/party.h @@ -17,8 +17,8 @@ extern int party_share_level; void do_init_party(void); void do_final_party(void); -struct party_data *party_search(int party_id); -struct party_data *party_searchname(char *str); +struct party_data* party_search(int party_id); +struct party_data* party_searchname(const char* str); int party_create(struct map_session_data *sd,char *name, int item, int item2); int party_created(int account_id,int char_id,int fail,int party_id,char *name); @@ -47,6 +47,6 @@ int party_exp_share(struct party_data *p,struct block_list *src,unsigned int bas int party_share_loot(struct party_data* p, struct map_session_data* sd, struct item* item_data, int first_charid); int party_send_dot_remove(struct map_session_data *sd); int party_sub_count(struct block_list *bl, va_list ap); -int party_foreachsamemap(int (*func)(struct block_list *,va_list),struct map_session_data *sd,int type,...); +int party_foreachsamemap(int (*func)(struct block_list *,va_list),struct map_session_data *sd,int range,...); #endif /* _PARTY_H_ */ |