Re: Exits

From: Damian Jurzysta (interact@hem.passagen.se)
Date: 11/20/99


Hello Alex.

On 20-Nov-99, you wrote:

A>>       slen += sprintf(buf + slen, "%s ", UPPER(dirs[door]));
A> Change this line to:
A>      slen += sprintf(buf + slen, "%s ", UPPER(*dirs[door]));
A>
A> dirs is a string and UPPER upper cases a character, so you want
A> to give it a character instead (done with '*')

that didnt work very well, now I get a new compiler error:

act.informative.c: In function `do_auto_exits':
act.informative.c:424: warning: format argument is not a pointer (arg 3)


and when I look in a room it says:

Exits:
 
   

--
/Damian/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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