diff --git a/examples/Evolution/NN3DWalkers.cpp b/examples/Evolution/NN3DWalkers.cpp index 1d9affa96..f19a914ff 100755 --- a/examples/Evolution/NN3DWalkers.cpp +++ b/examples/Evolution/NN3DWalkers.cpp @@ -160,8 +160,8 @@ public: m_filterCallback(NULL) { b3Clock clock; - srand(clock.getTimeMilliseconds()); // Set random milliseconds based on system time clock.reset(true); // Reset clock to zero to get new random seed + srand(clock.getTimeMilliseconds()); // Set random milliseconds based on system time } virtual ~NN3DWalkersExample()