Skip to content

Commit

Permalink
Fix some since typified stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Procyonae committed Dec 18, 2024
1 parent 1b7dabc commit 1037391
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10476,7 +10476,7 @@ bool map::try_fall( const tripoint_bub_ms &p, Creature *c ) const

int height = 0;
tripoint_bub_ms where( p );
tripoint_bub_ms below( where + tripoint::below );
tripoint_bub_ms below( where + tripoint_rel_ms::below );
creature_tracker &creatures = get_creature_tracker();
while( valid_move( where, below, false, true ) ) {
where.z()--;
Expand Down Expand Up @@ -10529,7 +10529,7 @@ bool map::try_fall( const tripoint_bub_ms &p, Creature *c ) const
if( c->has_effect( effect_strengthened_gravity ) ) {
height += 1;
}
c->impact( height * 10, where.raw() );
c->impact( height * 10, where );
return true;
}

Expand Down Expand Up @@ -10578,11 +10578,11 @@ bool map::try_fall( const tripoint_bub_ms &p, Creature *c ) const
} else {
you->add_msg_if_player( m_bad,
_( "You attempt to break the fall with your %s but it is out of fuel!" ), jetpack.tname() );
you->impact( height * 30, where.raw() );
you->impact( height * 30, where );

}
} else {
you->impact( height * 30, where.raw() );
you->impact( height * 30, where );
}

if( has_flag( ter_furn_flag::TFLAG_DEEP_WATER, where ) ) {
Expand Down

0 comments on commit 1037391

Please sign in to comment.