Hello Geoff. On 21-Jun-00, you wrote: GD>> else if ((GET_DEX(ch) = 25)) GD>> strcat(buf, "Godlike!"); GD> GD> In C, = is an assignment and == is a comparison for equality. GD> You probably should have an == here. GD> GD> Your compiler would normally render a warning in this scenario, GD> but the doubled parenthesis seem to indicate you "fixed" that GD> "problem". ;) yes, it made a complaint so I doubled the parenthesis around it. ahem, I am really ashamed now, thanks for pointing my stupid error out everybody. it now works as intended. -- /Damian/ +------------------------------------------------------------+ | 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 : 04/10/01 PDT