projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove total-ordering assumption.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index b4da635737fd93aea06cd5d11c66b0c82a8dde4a..e9b5c84e18c083819f1f9bca8ad67e5f9c34e94b 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-367,7
+367,7
@@
void MOVE(long object, long where)
from=game.fixed[object-NOBJECTS];
else
from=game.place[object];
- if (from
> NOWHERE
&& !SPECIAL(from))
+ if (from
!= NOWHERE && from != CARRIED
&& !SPECIAL(from))
CARRY(object,from);
DROP(object,where);
}