Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
magic missile bug
- To: crossfire (at) ifi.uio.no
- Subject: magic missile bug
- From: Tony Elmroth <>
- Date: Fri, 8 Jan 93 21:32:32 +0100
The following patch stops magic missiles from hitting you!
*** crossfire-0.88.0.orig/main.c Mon Jan 4 18:04:38 1993
--- crossfire-0.88.0/main.c Thu Jan 7 17:31:00 1993
***************
*** 141,147 ****
max=maxfree[i];
else {
tmp=get_map_ob(m,x+freearr_x[i],y+freearr_y[i]);
! while(tmp!=NULL&&!IS_MONSTER(tmp)&&tmp->type!=PLAYER)
tmp=tmp->above;
if(tmp!=NULL)
return freedir[i];
--- 141,148 ----
max=maxfree[i];
else {
tmp=get_map_ob(m,x+freearr_x[i],y+freearr_y[i]);
! while((tmp!=NULL&&!IS_MONSTER(tmp)&&tmp->type!=PLAYER) ||
! tmp == exclude)
tmp=tmp->above;
if(tmp!=NULL)
return freedir[i];
Tony