Re: A few questions on clans

From: Daniel Koepke (
Date: 01/26/97

On Sun, 26 Jan 1997, Nicholas S. Wourms wrote:

> I have seen many responses to clans, and I have a few questions myself.
> 1)Which, of all the ones that popped up, is the correct fix for is_playing
> struct?
> 2)Where is the best place to put the structre?
> 3)I did a proto declaration as(In the beginning of clan.c):
> extern struct char_data *is_playing;
> Is this right?

I thought it was a function...  Someone posted it.  Dunno who, I
don't use the code, and didn't much of any attention to the messages.

> 4)I get the following error:
> clan.c:1100: warning: assignment from incompatible pointer type
>   From the following line of code:
> ch->desc->str   = clan[clan_num].description;
> What's wrong here?

Change it to:
  ch->desc->str   = &(clan[clan_num].description);

Daniel Koepke
Forgive me father, for I am sin.

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

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