| 245 | } |
| 246 | |
| 247 | void xModelInstanceAttach(xModelInstance* inst, xModelInstance* parent) |
| 248 | { |
| 249 | xModelInstance* curr = parent; |
| 250 | while (curr->Next != NULL) |
| 251 | { |
| 252 | curr = curr->Next; |
| 253 | } |
| 254 | curr->Next = inst; |
| 255 | inst->Parent = parent; |
| 256 | if ((inst->Flags & 0x2000) != 0) |
| 257 | { |
| 258 | inst->Mat = parent->Mat; |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | void xModelInstanceUpgradeBrotherShared(xModelInstance* inst, U32 flags) |
| 263 | { |
no outgoing calls
no test coverage detected