1 | |
1 | |
2 | /* |
2 | /* |
3 | * static char *rcs_treasure_c = |
3 | * static char *rcs_treasure_c = |
4 | * "$Id: treasure.C,v 1.7 2006/09/03 00:18:40 root Exp $"; |
4 | * "$Id: treasure.C,v 1.8 2006/09/03 08:05:39 root Exp $"; |
5 | */ |
5 | */ |
6 | |
6 | |
7 | /* |
7 | /* |
8 | CrossFire, A Multiplayer game for X-windows |
8 | CrossFire, A Multiplayer game for X-windows |
9 | |
9 | |
… | |
… | |
1808 | free_treasurestruct (t->next); |
1808 | free_treasurestruct (t->next); |
1809 | if (t->next_yes) |
1809 | if (t->next_yes) |
1810 | free_treasurestruct (t->next_yes); |
1810 | free_treasurestruct (t->next_yes); |
1811 | if (t->next_no) |
1811 | if (t->next_no) |
1812 | free_treasurestruct (t->next_no); |
1812 | free_treasurestruct (t->next_no); |
1813 | free (t); |
1813 | |
|
|
1814 | delete t; |
1814 | } |
1815 | } |
1815 | |
1816 | |
1816 | void |
1817 | void |
1817 | free_charlinks (linked_char * lc) |
1818 | free_charlinks (linked_char * lc) |
1818 | { |
1819 | { |