Re: Problem with switch command...

From: Karl B Buchner (zerker@juno.com)
Date: 04/29/02


>     if (!i->connected && i->character && AWAKE(i->character)

> I modified it:
> if (!i->connected && i->character && !i->original
> Now it works, but is it a good solution?

Your solution is perfectly acceptable...though I would suggest an
IS_NPC(i->character) check instead of i->original...allows better
for further expansion, it seems.

Blaize

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/web/.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT