… | |
… | |
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 | |