… | |
… | |
24 | |
24 | |
25 | #include <global.h> |
25 | #include <global.h> |
26 | #include <sproto.h> |
26 | #include <sproto.h> |
27 | #include <spells.h> |
27 | #include <spells.h> |
28 | |
28 | |
29 | #ifdef COZY_SERVER |
|
|
30 | // used for pet monster logic etc. |
|
|
31 | int |
|
|
32 | same_party (partylist *a, partylist *b) |
|
|
33 | { |
|
|
34 | return a == b && a; |
|
|
35 | } |
|
|
36 | #endif |
|
|
37 | |
|
|
38 | static partylist *firstparty = NULL; /* Keeps track of first party in list */ |
29 | static partylist *firstparty = NULL; /* Keeps track of first party in list */ |
39 | static partylist *lastparty = NULL; /*Keeps track of last party in list */ |
30 | static partylist *lastparty = NULL; /*Keeps track of last party in list */ |
40 | |
31 | |
41 | partylist * |
32 | partylist * |
42 | get_firstparty (void) |
33 | get_firstparty (void) |