Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poison tweaks #46079

Merged
merged 25 commits into from
Dec 24, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Astyle
  • Loading branch information
Venera3 committed Dec 17, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b7820bd8801a1dcaac901be35a4f9448b228b9a9
4 changes: 2 additions & 2 deletions src/monster.cpp
Original file line number Diff line number Diff line change
@@ -1294,8 +1294,8 @@ bool monster::is_immune_effect( const efftype_id &effect ) const
effect == effect_venom_dmg ||
effect == effect_venom_weaken ||
effect == effect_poison ) {
return type->in_species(species_ZOMBIE) ||
!made_of_any( Creature::cmat_flesh);
return type->in_species( species_ZOMBIE ) ||
!made_of_any( Creature::cmat_flesh );
}

if( effect == effect_stunned ) {