--- deliantra/server/common/button.C 2006/08/31 17:54:14 1.5 +++ deliantra/server/common/button.C 2006/09/03 00:18:39 1.6 @@ -1,6 +1,6 @@ /* * static char *rcsid_button_c = - * "$Id: button.C,v 1.5 2006/08/31 17:54:14 root Exp $"; + * "$Id: button.C,v 1.6 2006/09/03 00:18:39 root Exp $"; */ /* @@ -221,7 +221,7 @@ if (obp) for (ol = obp->link; ol; ol = ol->next) { if (!ol->ob || ol->ob->count != ol->id) { - LOG(llevDebug, "Internal error in update_button (%s).\n", op->name); + LOG(llevDebug, "Internal error in update_button (%s).\n", &op->name); continue; } tmp = ol->ob; @@ -342,8 +342,8 @@ && sacrifice->type != PLAYER) { if ((ARCH_SACRIFICE(altar) == sacrifice->arch->name || - ARCH_SACRIFICE(altar) == sacrifice->name || - ARCH_SACRIFICE(altar) == sacrifice->slaying || + ARCH_SACRIFICE(altar) == sacrifice->name || + ARCH_SACRIFICE(altar) == sacrifice->slaying || (!strcmp(ARCH_SACRIFICE(altar),query_base_name(sacrifice,0)))) && NROF_SACRIFICE(altar) <= (sacrifice->nrof?sacrifice->nrof:1)) return 1; @@ -558,7 +558,7 @@ return 1; default: - LOG(llevDebug, "Unknown trigger type: %s (%d)\n", op->name, op->type); + LOG(llevDebug, "Unknown trigger type: %s (%d)\n", &op->name, op->type); return 0; } } @@ -817,7 +817,7 @@ for (obp = map->buttons; obp; obp = obp->next) { for (ol=obp->link; ol; ol=ol->next) { if (ol->id!=ol->ob->count) - LOG(llevError,"verify_button_links: object %s on list is corrupt (%d!=%d)\n",ol->ob->name, ol->id, ol->ob->count); + LOG(llevError,"verify_button_links: object %s on list is corrupt (%d!=%d)\n", &ol->ob->name, ol->id, ol->ob->count); } } }