Re: stats limit

From: Ray (ruppertr@snycorva.cortland.edu)
Date: 06/21/00


On Wed, 21 Jun 2000, Damian Jurzysta wrote:
[snip!]
>   else if ((GET_DEX(ch) = 25))
>     strcat(buf, "Godlike!");

This should be if ((GET_DEX(ch) == 25))

== is the equality comparison, = is the assignment operator.

Ray


     +------------------------------------------------------------+
     | 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