version 1.26 | | version 1.27 |
---|
| | |
/* | | /* |
* static char *rcsid_button_c = | | * static char *rcsid_button_c = |
* "$Id: button.c,v 1.26 2005/07/15 13:51:48 ryo_saeba Exp $"; | | * "$Id: button.c,v 1.27 2005/09/03 20:42:01 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
{ | | { |
if ((ARCH_SACRIFICE(altar) == sacrifice->arch->name || | | if ((ARCH_SACRIFICE(altar) == sacrifice->arch->name || |
ARCH_SACRIFICE(altar) == sacrifice->name || | | ARCH_SACRIFICE(altar) == sacrifice->name || |
ARCH_SACRIFICE(altar) == sacrifice->slaying) | | ARCH_SACRIFICE(altar) == sacrifice->slaying || |
| | (!strcmp(ARCH_SACRIFICE(altar),query_base_name(sacrifice,0)))) |
&& NROF_SACRIFICE(altar) <= (sacrifice->nrof?sacrifice->nrof:1)) | | && NROF_SACRIFICE(altar) <= (sacrifice->nrof?sacrifice->nrof:1)) |
return 1; | | return 1; |
if (strcmp (ARCH_SACRIFICE(altar), "money") == 0 | | if (strcmp (ARCH_SACRIFICE(altar), "money") == 0 |