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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.192 by root, Wed Apr 30 06:40:28 2008 UTC vs.
Revision 1.193 by root, Wed Apr 30 07:08:34 2008 UTC

2572 new_draw_info (NDI_UNIQUE, 0, op, "You blindly grab for a bite of food."); 2572 new_draw_info (NDI_UNIQUE, 0, op, "You blindly grab for a bite of food.");
2573 manual_apply (op, flesh, 0); 2573 manual_apply (op, flesh, 0);
2574 } 2574 }
2575 } 2575 }
2576 2576
2577 if (op->stats.food < 0) 2577 if (op->stats.food < 0 && op->stats.hp >= -op->stats.food)
2578 { 2578 {
2579 op->stats.hp += op->stats.food; 2579 op->stats.hp += op->stats.food;
2580 op->stats.food = 0; 2580 op->stats.food = 0;
2581 } 2581 }
2582 2582

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines