Skip to content

Commit

Permalink
Translate footstep strings
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade authored Apr 12, 2019
1 parent 7023fc4 commit 3d42307
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/monmove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,15 +783,15 @@ void monster::footsteps( const tripoint &p )
if( volume == 0 ) {
return;
}
std::string footstep = "footsteps.";
std::string footstep = _( "footsteps." );
if( type->in_species( BLOB ) ) {
footstep = "plop.";
footstep = _( "plop." );
} else if( type->in_species( ZOMBIE ) ) {
footstep = "shuffling.";
footstep = _( "shuffling." );
} else if( type->in_species( ROBOT ) ) {
footstep = "mechanical whirring.";
footstep = _( "mechanical whirring." );
} else if( type->in_species( WORM ) ) {
footstep = "rustle.";
footstep = _( "rustle." );
}
int dist = rl_dist( p, g->u.pos() );
sounds::add_footstep( p, volume, dist, this, footstep );
Expand Down

0 comments on commit 3d42307

Please sign in to comment.