… | |
… | |
32 | get_firstparty (void) |
32 | get_firstparty (void) |
33 | { |
33 | { |
34 | return firstparty; |
34 | return firstparty; |
35 | } |
35 | } |
36 | |
36 | |
37 | void |
37 | static void |
38 | remove_party (partylist *target_party) |
38 | remove_party (partylist *target_party) |
39 | { |
39 | { |
40 | if (firstparty == NULL) |
40 | if (firstparty == NULL) |
41 | { |
41 | { |
42 | LOG (llevError, "remove_party(): I was asked to remove party %s, but no parties are defined", target_party->partyname); |
42 | LOG (llevError, "remove_party(): I was asked to remove party %s, but no parties are defined", target_party->partyname); |
… | |
… | |
128 | } |
128 | } |
129 | } |
129 | } |
130 | return 1; |
130 | return 1; |
131 | } |
131 | } |
132 | |
132 | |
133 | void |
133 | static void |
134 | send_party_message (object *op, const char *msg) |
134 | send_party_message (object *op, const char *msg) |
135 | { |
135 | { |
136 | for_all_players (pl) |
136 | for_all_players (pl) |
137 | if (pl->ob->contr->party == op->contr->party && pl->ob != op) |
137 | if (pl->ob->contr->party == op->contr->party && pl->ob != op) |
138 | pl->send_msg (NDI_UNIQUE, MSG_CHANNEL ("party"), msg); |
138 | pl->send_msg (NDI_UNIQUE, MSG_CHANNEL ("party"), msg); |