On Wed, 21 Jun 2000, Damian Jurzysta wrote: > else if ((GET_DEX(ch) = 25)) > strcat(buf, "Godlike!"); In C, = is an assignment and == is a comparison for equality. You probably should have an == here. Your compiler would normally render a warning in this scenario, but the doubled parenthesis seem to indicate you "fixed" that "problem". ;) -Geoff =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Geoff Davis --- Software Engineer --- Interlogix, Inc. --- Boca Raton, FL HmM: azrael@laker.net WkM: geoff.davis@casi-rusco.com WkP: 561.912.5943 "Buildings burn - people die - but real love is forever." -- The Crow =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +------------------------------------------------------------+ | 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