1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

; Fix previous commit

* lisp/play/dunnet.el (dun-drop): Nix assignment of nonexistent binding.
This commit is contained in:
Mark Oteiza 2017-01-22 10:18:42 -05:00
parent 0a49f158f1
commit 03de82fe7c

View 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)