| 556 | //----------------------------------------------------------------------------- |
| 557 | |
| 558 | void ArrayObject::setCurrent( S32 idx ) |
| 559 | { |
| 560 | if ( idx < 0 || idx >= mArray.size() ) |
| 561 | { |
| 562 | Con::errorf( "ArrayObject::setCurrent( %d ) is out of the array bounds!", idx ); |
| 563 | return; |
| 564 | } |
| 565 | |
| 566 | mCurrentIndex = idx; |
| 567 | } |
| 568 | |
| 569 | //----------------------------------------------------------------------------- |
| 570 |
no test coverage detected