projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clear login in bvreak
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index be2599098d70d5398e12934485ab982299e8b87d..0c2a5439edf9aec4ab7492d0a83526e3326e3072 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-607,7
+607,8
@@
void drop(obj_t object, loc_t where)
--game.holdng;
game.place[object] = where;
}
- if (where <= 0)
+ if (where == LOC_NOWHERE ||
+ where == CARRIED)
return;
game.link[object] = game.atloc[where];
game.atloc[where] = object;