1 | |
1 | |
2 | /* |
2 | /* |
3 | * static char *rcsid_gods_c = |
3 | * static char *rcsid_gods_c = |
4 | * "$Id: gods.C,v 1.6 2006/09/10 15:59:57 root Exp $"; |
4 | * "$Id: gods.C,v 1.7 2006/09/14 21:16:12 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 | |
… | |
… | |
956 | { |
956 | { |
957 | object *depl; |
957 | object *depl; |
958 | archetype *at; |
958 | archetype *at; |
959 | int i; |
959 | int i; |
960 | |
960 | |
961 | if ((at = find_archetype (ARCH_DEPLETION)) == NULL) |
961 | if ((at = archetype::find (ARCH_DEPLETION)) == NULL) |
962 | { |
962 | { |
963 | LOG (llevError, "Could not find archetype depletion.\n"); |
963 | LOG (llevError, "Could not find archetype depletion.\n"); |
964 | continue; |
964 | continue; |
965 | } |
965 | } |
966 | depl = present_arch_in_ob (at, op); |
966 | depl = present_arch_in_ob (at, op); |