Skip to content

Commit

Permalink
make checks stop complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
worm-girl committed Nov 30, 2023
1 parent 22c3968 commit 9bfe83d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ static const efftype_id effect_boomered( "boomered" );
static const efftype_id effect_brainworms( "brainworms" );
static const efftype_id effect_chafing( "chafing" );
static const efftype_id effect_common_cold( "common_cold" );
static const efftype_id effect_conjunctivitis_bacterial( "conjunctivitis_bacterial" );
static const efftype_id effect_conjunctivitis_viral( "conjunctivitis_viral" );
static const efftype_id effect_contacts( "contacts" );
static const efftype_id effect_controlled( "controlled" );
static const efftype_id effect_corroding( "corroding" );
Expand Down Expand Up @@ -256,10 +258,8 @@ static const efftype_id effect_paincysts( "paincysts" );
static const efftype_id effect_pkill1( "pkill1" );
static const efftype_id effect_pkill2( "pkill2" );
static const efftype_id effect_pkill3( "pkill3" );
static const efftype_id effect_pre_conjunctivitis_viral( "pre_conjunctivitis_viral" );
static const efftype_id effect_pre_conjunctivitis_bacterial( "pre_conjunctivitis_bacterial" );
static const efftype_id effect_conjunctivitis_viral( "conjunctivitis_viral" );
static const efftype_id effect_conjunctivitis_bacterial( "conjunctivitis_bacterial" );
static const efftype_id effect_pre_conjunctivitis_viral( "pre_conjunctivitis_viral" );
static const efftype_id effect_recently_coughed( "recently_coughed" );
static const efftype_id effect_recover( "recover" );
static const efftype_id effect_ridden( "ridden" );
Expand Down Expand Up @@ -10783,7 +10783,7 @@ void Character::process_effects()
if( has_trait( trait_INFRESIST ) ) {
checked_health += 50;
}
float pinkeye_chance = 4 + 6 / 25 * checked_health;
float pinkeye_chance = 4.0 + 6.0 / 25.0 * checked_health;
if( one_in( pinkeye_chance ) ) {
if( one_in( 2 ) ) {
add_effect( effect_pre_conjunctivitis_bacterial, 70_hours );
Expand Down
2 changes: 1 addition & 1 deletion src/iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ static const efftype_id effect_boomered( "boomered" );
static const efftype_id effect_bouldering( "bouldering" );
static const efftype_id effect_brainworms( "brainworms" );
static const efftype_id effect_cig( "cig" );
static const efftype_id effect_contacts( "contacts" );
static const efftype_id effect_conjunctivitis_bacterial( "conjunctivitis_bacterial" );
static const efftype_id effect_conjunctivitis_viral( "conjunctivitis_viral" );
static const efftype_id effect_contacts( "contacts" );
static const efftype_id effect_corroding( "corroding" );
static const efftype_id effect_critter_well_fed( "critter_well_fed" );
static const efftype_id effect_crushed( "crushed" );
Expand Down

0 comments on commit 9bfe83d

Please sign in to comment.