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

CF: repost: apply.c patch for alchemy fix



*** ../../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.");