Re: stats limit

From: Damian Jurzysta (
Date: 06/21/00

Hello Geoff.

On 21-Jun-00, you wrote:

GD>>   else if ((GET_DEX(ch) = 25))
GD>>     strcat(buf, "Godlike!");
GD> In C, = is an assignment and == is a comparison for equality.
GD> You probably should have an == here.
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.

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/10/01 PDT