On Tue, 25 Nov 1997 00:42:37 -0600 Chuck Reed <creed@I-55.COM> writes: [snip] >for(i=0;guilds[i].class != -1;i++) > if (GET_CLASS(ch) == guilds[i].class && world[ch->in_room].number >== > guilds[i].guild_room) { > found = TRUE; > continue; > }else > i++; > [snip] >It won't recognize a person in their guild. Any ideas? > Shouldn't it be: for(i=0;guilds[i].class != -1;i++) { if (GET_CLASS(ch) == guilds[i].class && world[ch->in_room].number >== guilds[i].guild_room) { found = TRUE; continue; } else i++; } It looked like the for loop wasn't reading the incrementing of i. +------------------------------------------------------------+ | 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/08/00 PST