ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_party.C
(Generate patch)

Comparing deliantra/server/server/c_party.C (file contents):
Revision 1.32 by root, Fri Nov 6 12:49:19 2009 UTC vs.
Revision 1.33 by root, Fri Nov 6 13:03:34 2009 UTC

32get_firstparty (void) 32get_firstparty (void)
33{ 33{
34 return firstparty; 34 return firstparty;
35} 35}
36 36
37void 37static void
38remove_party (partylist *target_party) 38remove_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
133void 133static void
134send_party_message (object *op, const char *msg) 134send_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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines