Skip to content

Commit

Permalink
Update character.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
worm-girl authored Jan 3, 2024
1 parent eafd147 commit 8a676c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10911,6 +10911,7 @@ void Character::process_effects()
const optional_vpart_position vp_there = here.veh_at( your_pos );
if( !vp_there ) {
remove_effect( effect_cramped_space );
return;
}
if( is_npc() && !has_effect( effect_narcosis ) && has_effect( effect_cramped_space ) ) {
npc &as_npc = dynamic_cast<npc &>( *this );
Expand Down

0 comments on commit 8a676c8

Please sign in to comment.