Skip to content

Commit

Permalink
Activate towel that got wet from swimming
Browse files Browse the repository at this point in the history
  • Loading branch information
Night-Pryanik committed Oct 21, 2022
1 parent 26a4725 commit 994d6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10879,7 +10879,7 @@ void game::water_affect_items( Character &ch ) const
&& !loc.protected_from_liquids() ) {
wet.emplace_back( loc );
} else if( loc->typeId() == itype_towel && !loc.protected_from_liquids() ) {
loc->convert( itype_towel_wet );
loc->convert( itype_towel_wet ).active = true;
}
}

Expand Down

0 comments on commit 994d6b9

Please sign in to comment.