Skip to content

Commit 1a9f016

Browse files
committed
Try to fix odd behaviour of soccer ball.
1 parent a1ba27b commit 1a9f016

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modes/soccer_world.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ void SoccerWorld::init()
122122
Log::fatal("SoccerWorld","Ball is missing in soccer field, abort.");
123123

124124
m_bgd.init(m_ball->getPhysicalObject()->getRadius());
125+
m_ball_body->setActivationState(DISABLE_DEACTIVATION);
125126

126127
} // init
127128

0 commit comments

Comments
 (0)