remove the code to silence lint
Warning facilities on recent compilers are incredibly improved, so the code to silence "good-old" lint is much less sense.
This commit is contained in:
@@ -312,12 +312,8 @@ dog_eat(struct monst *mtmp,
|
||||
/* It's a reward if it's DOGFOOD and the player dropped/threw it.
|
||||
We know the player had it if invlet is set. -dlc */
|
||||
if (dogfood(mtmp, obj) == DOGFOOD && obj->invlet)
|
||||
#ifdef LINT
|
||||
edog->apport = 0;
|
||||
#else
|
||||
edog->apport += (int) (200L / ((long) edog->dropdist + g.moves
|
||||
- edog->droptime));
|
||||
#endif
|
||||
if (mtmp->data == &mons[PM_RUST_MONSTER] && obj->oerodeproof) {
|
||||
/* The object's rustproofing is gone now */
|
||||
if (obj->unpaid)
|
||||
|
||||
Reference in New Issue
Block a user