Make GOLDOBJ unconditional.

This commit is contained in:
Sean Hunt
2015-02-14 01:31:22 -05:00
parent 4f59f5c6fd
commit ac108cd365
58 changed files with 8 additions and 1196 deletions

View File

@@ -1050,14 +1050,6 @@ mdamagem(magr, mdef, mattk)
break;
case AD_SGLD:
tmp = 0;
#ifndef GOLDOBJ
if (magr->mcan || !mdef->mgold) break;
/* technically incorrect; no check for stealing gold from
* between mdef's feet...
*/
magr->mgold += mdef->mgold;
mdef->mgold = 0;
#else
if (magr->mcan) break;
/* technically incorrect; no check for stealing gold from
* between mdef's feet...
@@ -1068,7 +1060,6 @@ mdamagem(magr, mdef, mattk)
obj_extract_self(gold);
add_to_minv(magr, gold);
}
#endif
mdef->mstrategy &= ~STRAT_WAITFORU;
if (vis) {
Strcpy(buf, Monnam(magr));