Re: Del's Bundle

From: ironfist (ironfist@texas.net)
Date: 01/08/02


Bejhan Jetha wrote:

> Okay this never works for me and I only get this one error everytime!
> Can anyone help me?
>
> Well here's the error:
> db.c
> c:\circle\src\db.c(2396) : error C2106: '=' : left operand must be l-value
>
> I found that to fix this you can use GET_PC_NAME(ch) instead of GET_NAME(ch)
> but then that gives you about 9 errors with objsave.c so I don't think its
> the right way to fix it.
>
> Now line 2396 will have a star beside it because i'm going to include a few
> lines before it and a few after:
>
>
>       case 'N':
>  if(!strcmp(tag, "Name"))
> ***  GET_NAME(ch)= str_dup(line);
>        break;

mine looks like:

     case 'N':
 if(!strcmp(tag, "Name"))
   (ch)->player.name = str_dup(line);
 break;


which is the same as using GET_PC_NAME

R.M
ironfist@texas.net
strife.betterbox.net 4100

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT