Heya all. I just got autoquest and recently patched it in my MUD.
However, I'm having a bit of a trouble with the section of code below
from the quest.c file.
#ifdef 0
/* Add to int* completed quest vnum */
void add_completed_quest_u(struct char_file_u *player, int num)
{
int i;
sh_int *temp;
CREATE(temp, sh_int, player->num_completed_quests +1);
for (i=0; i <= player->num_completed_quests; i++)
temp[i] = player->completed_quests[i];
My compiler errors out on the #ifdef 0 line with the following error:
C:\Circle\src\quest.c(167) : fatal error C1016: #if[n]def expected an
identifier
Anyone know why this might be happening? As a side note, I'm not using
ASCII p-files(yet, they're still screwy on my MUD). Any help would be
appreciated!
-Phillip
Phillip Ames | Satisfaction is not guaranteed.
kirk47@juno.com | -Ferengi Rule of Acquisition #19
ICQ: 8778335 | AOL IM: Grathol
http://members.xoom.com/Gowron/index.html(Unfinished)
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST