ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/apply.C
(Generate patch)

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.238 by root, Sun Apr 4 04:10:47 2010 UTC vs.
Revision 1.240 by root, Mon Apr 5 20:33:13 2010 UTC

1805 op->failmsg (format ("You are unable to decipher the strange symbols. H<Your %s level is too low, it must be at least %d.>", 1805 op->failmsg (format ("You are unable to decipher the strange symbols. H<Your %s level is too low, it must be at least %d.>",
1806 &tmp->skill, learn_level)); 1806 &tmp->skill, learn_level));
1807 return; 1807 return;
1808 } 1808 }
1809 1809
1810 op->statusmsg (format ("The spellbook contains the %s level spell %s.", get_levelnumber (spell->level), &spell->name)); 1810 op->statusmsg (format ("The spellbook contains the %s level spell %s.", ordinal (spell->level), &spell->name));
1811 1811
1812 if (!QUERY_FLAG (tmp, FLAG_IDENTIFIED)) 1812 if (!QUERY_FLAG (tmp, FLAG_IDENTIFIED))
1813 identify (tmp); 1813 identify (tmp);
1814 1814
1815 /* I removed the check for special_prayer_mark here - it didn't make 1815 /* I removed the check for special_prayer_mark here - it didn't make
2631static int 2631static int
2632manual_apply (object *who, object *op, int aflag) 2632manual_apply (object *who, object *op, int aflag)
2633{ 2633{
2634 op = op->head_ (); 2634 op = op->head_ ();
2635 2635
2636 if (QUERY_FLAG (op, FLAG_UNPAID) && !QUERY_FLAG (op, FLAG_APPLIED)) 2636 if (op->flag [FLAG_UNPAID] && !op->flag [FLAG_APPLIED])
2637 { 2637 {
2638 if (who->type == PLAYER) 2638 if (who->type == PLAYER)
2639 { 2639 {
2640 examine (who, op); 2640 examine (who, op);
2641 //who->failmsg ("You should pay for it first! H<You cannot use items marked as unpaid.>");//TODO remove 2641 //who->failmsg ("You should pay for it first! H<You cannot use items marked as unpaid.>");//TODO remove

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines