Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: 0.94.1 bug fix (keys)
Hi,
as usual :-( cf had a couple of bugs (question: does anyone run some
small tests before releasing a new version?). When you run into a door,
the server crashes no matter whether you have the key or not.
The problem is the line
if (ob->type==CONTAINER && !strcmp(ob->race,"keys"))
in player.c/FindKey(). It needs to be changed to
if (ob->type==CONTAINER && ob->race!=NULL && !strcmp(ob->race,"keys"))
Christian
[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]