Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- effect Creature::get_effect(efftype_id eff_id, body_part bp) const
- {
- if(effects.find(eff_id) != effects.end()) {
- if (effects[eff_id].find((int)bp) != effects[eff_id].end()) {
- return effects[eff_id][(int)bp];
- }
- }
- return effect();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement