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

From: Peter d (death_comes_to_all@hotmail.com)
Date: 06/29/02


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

It worked, thanx :)
hmm, it seems, that the part where the weapon should only cast the spell at
the end of the round is messed up, because i had to uncomment
the hit = TRUE;
and hit = FALSE;
lines..
the compilation said lvalue required..

otherwise, the code works like a charm :)

_________________________________________________________________
Skicka snabbmeddelanden till dina všnner online med MSN Messenger:
http://messenger.msn.se

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