Re: A 'home' made bug...

From: Brian Pape (
Date: 04/16/96

> Anyways.. I have a bug in the do_home command I've made.. here's the code
> I have for it:
> ACMD(do_home)
> {
>   struct descriptor_data *d;
>   sh_int load_room;
>   struct char_data *victim;
>   d = descriptor_list;
>  if (GET_LOADROOM(d->character) == 3005) {

Looked at the code once more and noticed you are also using d->character
for no apparent reason...  just use 'ch'...  Change all of the instances
of 'd->character' and 'victim' in this ACMD to 'ch'...

Brian Pape

This archive was generated by hypermail 2b30 : 12/18/00 PST