> > On Wed, 1 Oct 1997, Aaron Miller wrote: > > >Well, I was looking through weather.c today, and decided that it was silly > >only people otuside knew about the weather. So I went about a making a > > How do you know the weather deep inside a cave? > Due to the nature of my mud, there will be no deep caves. > >#define INSIDE(ch) (ROOM_FLAGGED((ch)->in_room, ROOM_INDOORS)) > > > >which is basically a copy of OUTSIDE, except it has a ! preceedingly it > >all, which makes it true if that string is false, I believe.. I tried to > >use !OUTSIDE in my function, but the compiler didn't like that. Hrmph, > >whatever.. anyone help? Would OUTSIDE = 1 have worked for a check? > > !OUTSIDE(ch) should work fine and so should OUTSIDE(ch) == 0 > Well, it didn't :( +------------------------------------------------------------+ | 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