From: <pat...@us...> - 2014-06-08 07:29:31
|
Revision: 380 http://sourceforge.net/p/simspark/svn/380 Author: patmac369 Date: 2014-06-08 07:29:26 +0000 (Sun, 08 Jun 2014) Log Message: ----------- Fixing a bug where the height of the position of the ball when moved after a failed free kick attempt (for instance a goal kick where the ball is not moved out of the goal box) might not be on the ground. I've seen this happen when manually changing play modes through the training command parser while trying to restore the state of a game from a logfile. Modified Paths: -------------- trunk/rcssserver3d/plugin/soccer/soccerruleaspect/soccerruleaspect.cpp Modified: trunk/rcssserver3d/plugin/soccer/soccerruleaspect/soccerruleaspect.cpp =================================================================== --- trunk/rcssserver3d/plugin/soccer/soccerruleaspect/soccerruleaspect.cpp 2014-06-02 11:08:41 UTC (rev 379) +++ trunk/rcssserver3d/plugin/soccer/soccerruleaspect/soccerruleaspect.cpp 2014-06-08 07:29:26 UTC (rev 380) @@ -1271,6 +1271,7 @@ { // update freekickpos mFreeKickPos = mBallState->GetLastValidBallPosition(); + mFreeKickPos[2] = mBallRadius; return false; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |