]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix previous commit
authorMark Oteiza <mvoteiza@udel.edu>
Sun, 22 Jan 2017 15:18:42 +0000 (10:18 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Sun, 22 Jan 2017 15:18:42 +0000 (10:18 -0500)
* lisp/play/dunnet.el (dun-drop): Nix assignment of nonexistent binding.

lisp/play/dunnet.el

index 981b8464aaa973e9b49861483c1c8cede4d4fb7e..ed5b4c65068142d3b7bdcfd692a98491a70146ae 100644 (file)
@@ -267,7 +267,7 @@ on your head.")
       (dun-mprincl "You can't drop anything while on the bus.")
   (let (objnum)
     (when (setq objnum (dun-objnum-from-args-std obj))
-      (if (not (setq ptr (member objnum dun-inventory)))
+      (if (not (member objnum dun-inventory))
          (dun-mprincl "You don't have that.")
        (progn
          (dun-remove-obj-from-inven objnum)