Re: code

From: Brian Pape (
Date: 07/12/96

> sprintf(buf, "%sName: %s     Race: %s      Class: %s", buf, GET_NAME(ch),
> GET_RACE(ch), GET_CLASS(ch));
> I kept getting a "Format argument is not a pointer(arg 5)" and arg 6, I
> think it was.  What is wrong with it?  Do I have to define something?

look at the definitions of those two macros you just used! (in utils.h).
GET_RACE and GET_CLASS merely return a char variable that is part of the
player struct.  You are trying to print that char as a string.

Reign of Towers

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