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.187 by elmex, Tue Jan 13 13:29:57 2009 UTC vs.
Revision 1.188 by elmex, Sun Feb 22 16:42:55 2009 UTC

3412 switch (op->type) 3412 switch (op->type)
3413 { 3413 {
3414 case WEAPON: 3414 case WEAPON:
3415 if (!check_weapon_power (who, op->last_eat)) 3415 if (!check_weapon_power (who, op->last_eat))
3416 { 3416 {
3417 op->failmsg ("This weapon is too powerful for you to use. It would consume your soul!" LACK_ITEM_POWER); 3417 who->failmsg ("This weapon is too powerful for you to use. It would consume your soul!" LACK_ITEM_POWER);
3418 3418
3419 if (tmp) 3419 if (tmp)
3420 insert_ob_in_ob (tmp, who); 3420 insert_ob_in_ob (tmp, who);
3421 3421
3422 return 1; 3422 return 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines