Remove total-ordering assumption.

This commit is contained in:
Eric S. Raymond 2017-06-16 08:39:01 -04:00
parent a57d93ce35
commit 1329da1087

2
misc.c
View file

@ -367,7 +367,7 @@ void MOVE(long object, long where)
from=game.fixed[object-NOBJECTS]; from=game.fixed[object-NOBJECTS];
else else
from=game.place[object]; from=game.place[object];
if (from > NOWHERE && !SPECIAL(from)) if (from != NOWHERE && from != CARRIED && !SPECIAL(from))
CARRY(object,from); CARRY(object,from);
DROP(object,where); DROP(object,where);
} }