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.134 by root, Sat Nov 17 22:02:14 2018 UTC vs.
Revision 1.135 by root, Sat Nov 17 22:02:47 2018 UTC

900 current_weapon = tmp; 900 current_weapon = tmp;
901 } 901 }
902 902
903 /* Update slots used for items */ 903 /* Update slots used for items */
904 if (tmp->flag [FLAG_APPLIED]) // exclude praying... 904 if (tmp->flag [FLAG_APPLIED]) // exclude praying...
905 for (int i = 0; i < NUM_BODY_LOCATIONS; i++) 905 for (int i = 0; i < NUM_BODY_LOCATIONS; ++i)
906 slot[i].used += tmp->slot[i].info; 906 slot[i].used += tmp->slot[i].info;
907 907
908 if (tmp->type == SYMPTOM) 908 if (tmp->type == SYMPTOM)
909 min_it (speed_reduce_from_disease, tmp->last_sp ? tmp->last_sp / 100.f : 1.f); 909 min_it (speed_reduce_from_disease, tmp->last_sp ? tmp->last_sp / 100.f : 1.f);
910 910

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines