Magic-number elimination.

This commit is contained in:
Eric S. Raymond 2017-06-13 18:54:53 -04:00
parent d61cab352e
commit dc6a5751ed
3 changed files with 10 additions and 8 deletions

2
misc.c
View file

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