Skip to content

Commit

Permalink
Added missing function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg committed May 31, 2019
1 parent 1807ff3 commit 34eceef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3692,7 +3692,7 @@ int iuse::firecracker_pack_act( player *, item *it, bool, const tripoint &pos )
ex = it->charges;
}
for( i = 0; i < ex; i++ ) {
sounds::sound( pos, 20, sounds::sound_t::combat, _( "Bang!" ), "explosion", "small" );
sounds::sound( pos, 20, sounds::sound_t::combat, _( "Bang!" ), false, "explosion", "small" );
}
it->charges -= ex;
}
Expand Down
3 changes: 2 additions & 1 deletion src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4837,7 +4837,8 @@ void player::cough( bool harmful, int loudness )
if( !is_npc() ) {
add_msg( m_bad, _( "You cough heavily." ) );
}
sounds::sound( pos(), loudness, sounds::sound_t::speech, _( "a hacking cough." ), "misc", "cough" );
sounds::sound( pos(), loudness, sounds::sound_t::speech, _( "a hacking cough." ), false, "misc",
"cough" );

moves -= 80;

Expand Down
2 changes: 1 addition & 1 deletion src/trapfunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ void trapfunc::snake( Creature *c, const tripoint &p )
return;
}
//~ the sound a snake makes
sounds::sound( p, 10, sounds::sound_t::movement, _( "ssssssss" ), "misc", "snake_hiss" );
sounds::sound( p, 10, sounds::sound_t::movement, _( "ssssssss" ), false, "misc", "snake_hiss" );
if( one_in( 6 ) ) {
g->m.remove_trap( p );
}
Expand Down

0 comments on commit 34eceef

Please sign in to comment.