When you try switching the item, it forces the placement of the item on the
floor. If there is no more space to drop items, it silently explodes (not even
a traceback O.o)
The guilt is items.c:590, function "MakeHeldFloorItemOutOf".
It calls Terminate(EXIT_FAILURE), so not traceback is produced.
Review Request 2402 will get rid of both DebugPrintf and Terminate in favor of
error_message(IS_FATAL).
The ideal behavior, however, would be canceling the operation, reason why I
assing this to fluzz and raise priority to "important". (Why not critical if it
is a crash, again? Meh, nevermind.)
|