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

Comparing deliantra/server/common/living.C (file contents):
Revision 1.75 by root, Tue Aug 7 22:36:18 2007 UTC vs.
Revision 1.76 by root, Tue Aug 7 22:57:57 2007 UTC

914 && !tmp->flag [FLAG_CURSED] 914 && !tmp->flag [FLAG_CURSED]
915 && !tmp->flag [FLAG_DAMNED]) 915 && !tmp->flag [FLAG_DAMNED])
916 continue; 916 continue;
917 917
918 for (int i = 0; i < NUM_STATS; i++) 918 for (int i = 0; i < NUM_STATS; i++)
919 if (expect_false (tmp->stats.stat (i)))
920 stat_sum [i] = clamp (stat_sum [i] + tmp->stats.stat (i), MIN_STAT, MAX_STAT); 919 stat_sum [i] = stat_sum [i] + tmp->stats.stat (i);
921 920
922 if (digest_types [tmp->type]) 921 if (digest_types [tmp->type])
923 { 922 {
924 contr->digestion += tmp->stats.food; 923 contr->digestion += tmp->stats.food;
925 contr->gen_hp += tmp->stats.hp; 924 contr->gen_hp += tmp->stats.hp;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines