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
function called send_to_indoor, which was basically a copy of
send_to_outdoor. I soon realized it would be easier to make a INSIDE
logical in utils.h, so, also copying the OUTSIDE logical, I put this in..
#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?
+------------------------------------------------------------+
| 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