diff --git a/src/dothrow.c b/src/dothrow.c index 7ea090515..ef3495d66 100644 --- a/src/dothrow.c +++ b/src/dothrow.c @@ -756,7 +756,7 @@ boolean hitsroof; if (obj->oclass == POTION_CLASS) { potionhit(&youmonst, obj, TRUE); } else if (breaktest(obj)) { - int otyp = obj->otyp, ocorpsenm = obj->corpsenm; + int otyp = obj->otyp; int blindinc; /* need to check for blindness result prior to destroying obj */