1 | /* |
1 | /* |
2 | * static char *rcsid_apply_c = |
2 | * static char *rcsid_apply_c = |
3 | * "$Id: apply.C,v 1.1 2006/08/13 17:16:03 elmex Exp $"; |
3 | * "$Id: apply.C,v 1.2 2006/08/14 21:45:06 elmex Exp $"; |
4 | */ |
4 | */ |
5 | /* |
5 | /* |
6 | CrossFire, A Multiplayer game for X-windows |
6 | CrossFire, A Multiplayer game for X-windows |
7 | |
7 | |
8 | Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
8 | Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
… | |
… | |
1352 | * Returns 1 if 'op' was destroyed, 0 if not. |
1352 | * Returns 1 if 'op' was destroyed, 0 if not. |
1353 | * Largely re-written to not use nearly as many gotos, plus |
1353 | * Largely re-written to not use nearly as many gotos, plus |
1354 | * some of this code just looked plain out of date. |
1354 | * some of this code just looked plain out of date. |
1355 | * MSW 2001-08-29 |
1355 | * MSW 2001-08-29 |
1356 | */ |
1356 | */ |
1357 | static int apply_shop_mat (object *shop_mat, object *op) |
1357 | int apply_shop_mat (object *shop_mat, object *op) |
1358 | { |
1358 | { |
1359 | int rv = 0; |
1359 | int rv = 0; |
1360 | double opinion; |
1360 | double opinion; |
1361 | object *tmp, *next; |
1361 | object *tmp, *next; |
1362 | |
1362 | |