- remove an unused variable in use_pick_axe2
- wiz_debug_cmd needs to return an int like other extended commands
* module you are trying to debug) or things are going to get rather
* hard to link :-)
*/
-extern void NDECL(wiz_debug_cmd);
+extern int NDECL(wiz_debug_cmd);
#endif
#ifdef DUMB /* stuff commented out in extern.h, but needed here */
register struct rm *lev;
int dig_target;
boolean ispick = is_pick(obj);
- const char *verb = ispick ? "dig" : "chop";
const char *verbing = ispick ? "digging" : "chopping";
if (u.uswallow && attack(u.ustuck)) {
#endif
#ifdef DEBUG
-void
+int
wiz_debug_cmd() /* in this case, bury everything at your loc and around */
{
int x, y;
for (x = u.ux - 1; x <= u.ux + 1; x++)
for (y = u.uy - 1; y <= u.uy + 1; y++)
if (isok(x,y)) bury_objs(x,y);
+ return 0;
}
#endif /* DEBUG */