Skip to content

Commit

Permalink
missied a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
Goredell committed Feb 12, 2025
1 parent 289c25d commit 089f2ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/player_activity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ float player_activity::calc_morale_factor( int morale ) const

//1% per 4 extra morale
if( morale > 20 ) {
return 0.95f + morale / 25.f;
return 0.95f + morale / 25.0f;
} else if( morale < -40 ) {
return 1.10f + morale / 25.f;
return 1.10f + morale / 25.0f;
}
return 1.0f;
}
Expand Down

0 comments on commit 089f2ac

Please sign in to comment.