| 992 | //----------------------------------------------------------------------------- |
| 993 | |
| 994 | SceneObject* SceneObject::getMountedObject(S32 idx) |
| 995 | { |
| 996 | if (idx >= 0) { |
| 997 | S32 count = 0; |
| 998 | for (SceneObject* itr = mMount.list; itr; itr = itr->mMount.link) |
| 999 | if (count++ == idx) |
| 1000 | return itr; |
| 1001 | } |
| 1002 | return NULL; |
| 1003 | } |
| 1004 | |
| 1005 | //----------------------------------------------------------------------------- |
| 1006 |
no outgoing calls
no test coverage detected