Re: suggested parentheses around assignment used as truth value

From: Michael Gallagher (m_gally@HOTMAIL.COM)
Date: 12/23/99


Thanx for all your help, i got them fixed.

the problems were all

if (victim = get_char_vis(ch, arg, FIND_CHAR_WORLD)) {

instead of

if ((victim = get_char_vis(ch, arg, FIND_CHAR_WORLD)) != NULL) {


Thanx Again
Michael Gallagher


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST