well, well, well, here goes the newbie again... here's the message =o) fight.c: In function `perform_violence': fight.c:942: warning: `ch' might be used uninitialized in this function and here's the problem =o) /* control the fights going on. Called every 2 seconds from comm.c. */ void perform_violence(void) { struct char_data *ch; /* 942 line */ extern struct index_data *mob_index; int times,a; if (GET_MOVE(ch) <= 0) { /* this comparission is the problem */ GET_MOVE(ch) = 0; send_to_char("You are too exausted to fight!!!!", ch); return; }
This archive was generated by hypermail 2b30 : 12/18/00 PST