Re: [CODE] half_chops

From: Daniel W. Burke (dwb@ix.netcom.com)
Date: 12/03/98


On Thu, 3 Dec 1998, Julian Buckley wrote:

>       GET_QPOINTS(victim) == GET_QPOINTS(victim) + newquest;
>       GET_QPOINTS(victim) == GET_QPOINTS(victim) - newquest;

One too many equal signs there.  Double equal is for compairsons, you need a
single one to assign a value.  Some compilers should give you a warning
about statement with no effect, or something similar.

Brazil


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



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