… | … | ||
---|---|---|---|
27 | #include <spells.h> | 27 | #include <spells.h> |
28 | 28 | ||
29 | static partylist *firstparty; | 29 | static partylist *firstparty; |
30 | 30 | ||
31 | partylist * | 31 | partylist * |
32 | get_firstparty (void) | 32 | get_firstparty () |
33 | { | 33 | { |
34 | return firstparty; | 34 | return firstparty; |
35 | } | 35 | } |
36 | 36 | ||
37 | static void | 37 | static void |
… | … | ||
63 | sfree (target_party); | 63 | sfree (target_party); |
64 | } | 64 | } |
65 | 65 | ||
66 | /* Remove unused parties, this could be made to scale a lot better. */ | 66 | /* Remove unused parties, this could be made to scale a lot better. */ |
67 | void | 67 | void |
68 | obsolete_parties (void) | 68 | obsolete_parties () |
69 | { | 69 | { |
70 | int player_count; | 70 | int player_count; |
71 | partylist *party; | 71 | partylist *party; |
72 | partylist *next = NULL; | 72 | partylist *next = NULL; |
73 | 73 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |