X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=misc.c;h=e9b5c84e18c083819f1f9bca8ad67e5f9c34e94b;hb=1329da1087dd91d0b4d1a7e0a63f9a669ec57d8c;hp=b4da635737fd93aea06cd5d11c66b0c82a8dde4a;hpb=a57d93ce35ccdea6fa4f260bf004d6f8f9924b2f;p=open-adventure.git 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); }