change GOLD_CLASS to COIN_CLASS

This commit is contained in:
nethack.allison
2002-07-08 23:25:53 +00:00
parent 1c6535a655
commit 40940991bb
31 changed files with 115 additions and 115 deletions

View File

@@ -1837,7 +1837,7 @@ struct obj *tstone;
const char *streak_color;
char stonebuf[QBUFSZ];
static const char scritch[] = "\"scritch, scritch\"";
static char allowall[3] = { GOLD_CLASS, ALL_CLASSES, 0 };
static char allowall[3] = { COIN_CLASS, ALL_CLASSES, 0 };
#ifndef GOLDOBJ
struct obj goldobj;
#endif
@@ -1846,7 +1846,7 @@ struct obj *tstone;
if ((obj = getobj(allowall, stonebuf)) == 0)
return;
#ifndef GOLDOBJ
if (obj->oclass == GOLD_CLASS) {
if (obj->oclass == COIN_CLASS) {
u.ugold += obj->quan; /* keep botl up to date */
goldobj = *obj;
dealloc_obj(obj);