File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -333,8 +333,8 @@ namespace RTE {
333
333
return prog / m_RegularLength;
334
334
}
335
335
336
- int LimbPath::GetCurrentSegmentNumber () const {
337
- int progress = 0 ;
336
+ unsigned int LimbPath::GetCurrentSegmentNumber () const {
337
+ unsigned int progress = 0 ;
338
338
if (!m_Ended && !IsStaticPoint ()) {
339
339
for (std::deque<Vector>::const_iterator itr = m_Segments.begin (); itr != m_CurrentSegment; ++itr) {
340
340
progress++;
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ namespace RTE {
220
220
221
221
// / Gets the current segment as a number, rather than an iterator.
222
222
// / @return The current segment as a number.
223
- int GetCurrentSegmentNumber () const ;
223
+ unsigned int GetCurrentSegmentNumber () const ;
224
224
225
225
// / Sets a new array of 'waypoints' or segments of this LimbPath.
226
226
// / @param newSpeed An int specifying how many segments there are in the following
You can’t perform that action at this time.
0 commit comments