On Fri, 3 Jan 2003, Thomas Arp wrote: > (add new var: int flying=FALSE;) > > /* set the flying var - note ; on end */ > if ((flying = AFF_FLAGGED(ch, AFF_FLY)) || > (flying = affected_by_spell(ch, SPELL_FLY))); No sense in using a conditional, if it's just being used to evaluate the condition: bool flying = AFF_FLAGGED(ch, AFF_FLY) || affected_by_spell(ch, SPELL_FLY); -dak -- +---------------------------------------------------------------+ | 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/26/03 PDT