diff --git a/src/dg_misc.c b/src/dg_misc.c index f059d08..05d3c75 100644 --- a/src/dg_misc.c +++ b/src/dg_misc.c @@ -305,7 +305,7 @@ void script_damage(struct char_data *vict, int dam) if (GET_POS(vict) == POS_DEAD) { if (!IS_NPC(vict)) mudlog( BRF, 0, TRUE, "%s killed by script at %s", - GET_NAME(vict), world[vict->in_room].name); + GET_NAME(vict), vict->in_room == NOWHERE ? "NOWHERE" : world[vict->in_room].name); die(vict, NULL); } }