Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: repost: apply.c patch for alchemy fix
- To: crossfire (at) ifi.uio.no
- Subject: CF: repost: apply.c patch for alchemy fix
- From: "Brian Thomas" <>
- Date: Tue, 27 Aug 96 15:39:50 EDT
- Sender: owner-crossfire
*** ../../tarfiles/crossfire-0.92.5/server/apply.c Wed Jul 24 03:45:49 1996
--- ./apply.c Tue Aug 27 14:09:00 1996
***************
*** 234,244 ****
fix_player(op);
return 1;
}
/* Only thing left are the stat potions */
! if(QUERY_FLAG(tmp, FLAG_CURSED) || QUERY_FLAG(tmp, FLAG_DAMNED))
CLEAR_FLAG(tmp, FLAG_APPLIED);
else
SET_FLAG(tmp, FLAG_APPLIED);
if(!change_abil(op,tmp))
new_draw_info(NDI_UNIQUE,0,op,"Nothing happened.");
--- 234,245 ----
fix_player(op);
return 1;
}
/* Only thing left are the stat potions */
! if((QUERY_FLAG(tmp, FLAG_CURSED) || QUERY_FLAG(tmp, FLAG_DAMNED))
! && tmp->value!=0)
CLEAR_FLAG(tmp, FLAG_APPLIED);
else
SET_FLAG(tmp, FLAG_APPLIED);
if(!change_abil(op,tmp))
new_draw_info(NDI_UNIQUE,0,op,"Nothing happened.");