Skip to content

Commit 6697d02

Browse files
authored
Fixing (#3335)
Fixing player stucking in wall when standing on icebreaker by killing the player instantly which also is bit more realistic
1 parent 7e6cf8d commit 6697d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/object/player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2374,7 +2374,7 @@ Player::collision_solid(const CollisionHit& hit)
23742374
}
23752375

23762376
if (hit.crush)
2377-
kill(false);
2377+
kill(true);
23782378

23792379
if ((hit.left && m_boost < 0.f) || (hit.right && m_boost > 0.f))
23802380
m_boost = 0.f;

0 commit comments

Comments
 (0)