Skip to content

Commit

Permalink
white space police
Browse files Browse the repository at this point in the history
  • Loading branch information
eJ0opb committed May 10, 2020
1 parent d2fbbe4 commit e511ada
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9114,7 +9114,8 @@ int iuse::cable_attach( player *p, item *it, bool, const tripoint & )
vehicle *const source_veh = veh_pointer_or_null( source_vp );
if( detach_if_missing && source_veh == nullptr ) {
if( p != nullptr && p->has_item( *it ) ) {
p->add_msg_if_player( m_bad, _( "You notice the cable has come loose!" ) );
p->add_msg_if_player( m_bad,
_( "You notice the cable has come loose!" ) );
}
it->reset_cable( p );
}
Expand Down

0 comments on commit e511ada

Please sign in to comment.