Re: [newbie] another error with weapon spells with bpl21

From: Mike Stilson (mike@velgarian.sytes.net)
Date: 06/29/02


On Sat, Jun 29, 2002 at 05:59:59PM +0200, Peter d wrote:
>what should i do with the wsplnum? i added an int at the top of the
>function, like this..  int t[10], j, retval, wsplnum;
>correct me :)

To be certain, it would help if you ran it in gdb and checked the value
of wsplnum at that point.  I'm betting it's something it shouldn't be,
since you don't initialize it.  Change it to "wsplnum = 0;" and see if
it works.

>// Peter

-me

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT