/* I/O routines (SPEAK, PSPEAK, RSPEAK, SETPRM, GETIN, YES) */
-void newspeak(char* msg)
+void newspeak(const char* msg)
{
// Do nothing if we got a null pointer.
if (msg == NULL)
BUG(21);
}
-void DSTROY(long object)
-/* Permanently eliminate "object" by moving to a non-existent location. */
-{
- MOVE(object,0);
-}
-
void JUGGLE(long object)
/* Juggle an object by picking it up and putting it down again, the purpose
* being to get the object to the front of the chain of things at its loc. */
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);
}