Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reporting bug in crossfire (rune.c) code (if it's not too late)



i just retreive on ifi.uio.no site crossfire-92.1 and compiled it on
a dec5000/25 and found a bug in the code.
and easy to fixe.
the file rune.c, in line 134 is calling: 
tmp->level=SK_level(op->level);  /* what level to cast the spell at */
but in the routine SK_level, the argument in entry is
expected to be a pointer on 'op' not the value of this
structure (since op->level is already done in it).
so by changing it to:
tmp->level=SK_level(op); 
it work fine.

-- 
*****************************************************************************
* This mail is made of recycled Electrons 				    *
*****************************************************************************

http://cebafb.cebaf.gov/~swynghed/
swynghed@cebaf.gov
swynghed@nuc006.psc.sc.edu
swynghed@polhp4.in2p3.fr

"Kiss my ascii !!!!"  (J. Young, Great Thinker)

"Quadruplicite boit temporisation" (B. Russel)

"Bla bla bla bla blablabla bla blabla" (Beavis & Butthead)

"Thank you come again" (Apu, little business owner, QuiKi Mart franchise)
****************************************************************************