digging rock vs. chopping wood
Refinement of the digging code: * Picks should not chop down trees, but axes should. * Picks should break walls, rock, statues, and boulders; axes shouldn't. * Either picks or axes should chop down doors.
This commit is contained in:
@@ -2827,7 +2827,7 @@ doapply()
|
||||
if (is_pole(obj)) {
|
||||
res = use_pole(obj);
|
||||
break;
|
||||
} else if (is_pick(obj) /* || is_axe(obj) */) {
|
||||
} else if (is_pick(obj) || is_axe(obj)) {
|
||||
res = use_pick_axe(obj);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user