for (int i = 0; i < 5; ++i)
{
char advent = (packed >> i * 6) & 63;
- token[4 - i] = advent_to_ascii[advent];
+ token[4 - i] = advent_to_ascii[(int) advent];
}
// Ensure the last character is \0.
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);
}
}
for (i=1; i<=LNLENG; i++) {
- INLINE[i]=advent_to_ascii[INLINE[i]];
+ INLINE[i]=advent_to_ascii[(int) INLINE[i]];
}
INLINE[LNLENG+1]=0;
printf("%s\n", INLINE+1);