| 97 | } |
| 98 | |
| 99 | bool NavPath::setProtectedMesh(void *obj, const char *index, const char *data) |
| 100 | { |
| 101 | NavPath *object = static_cast<NavPath*>(obj); |
| 102 | |
| 103 | if(Sim::findObject(data, object->mMesh)) |
| 104 | object->checkAutoUpdate(); |
| 105 | |
| 106 | return true; |
| 107 | } |
| 108 | |
| 109 | bool NavPath::setProtectedWaypoints(void *obj, const char *index, const char *data) |
| 110 | { |
nothing calls this directly
no test coverage detected