1 | |
1 | |
2 | /* |
2 | /* |
3 | * static char *rcsid_resurrection_c = |
3 | * static char *rcsid_resurrection_c = |
4 | * "$Id: resurrection.C,v 1.5 2006/09/10 15:59:57 root Exp $"; |
4 | * "$Id: resurrection.C,v 1.6 2006/09/14 21:16:13 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 | |
… | |
… | |
217 | |
217 | |
218 | /* no matter what, we fry the corpse. */ |
218 | /* no matter what, we fry the corpse. */ |
219 | if (temp && temp->map) |
219 | if (temp && temp->map) |
220 | { |
220 | { |
221 | /* replace corpse object with a burning object */ |
221 | /* replace corpse object with a burning object */ |
222 | newob = arch_to_object (find_archetype ("burnout")); |
222 | newob = arch_to_object (archetype::find ("burnout")); |
223 | if (newob != NULL) |
223 | if (newob != NULL) |
224 | { |
224 | { |
225 | newob->x = temp->x; |
225 | newob->x = temp->x; |
226 | newob->y = temp->y; |
226 | newob->y = temp->y; |
227 | insert_ob_in_map (newob, temp->map, op, 0); |
227 | insert_ob_in_map (newob, temp->map, op, 0); |