From: Eric S. Raymond Date: Fri, 16 Jun 2017 12:39:01 +0000 (-0400) Subject: Remove total-ordering assumption. X-Git-Tag: 1.1~289^2~6 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=1329da1087dd91d0b4d1a7e0a63f9a669ec57d8c;p=open-adventure.git Remove total-ordering assumption. --- diff --git a/misc.c b/misc.c index b4da635..e9b5c84 100644 --- 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); }