| 234 | if (pVoice->flags & 0x10) |
| 235 | { |
| 236 | if (pVoice->parentPos != NULL) |
| 237 | { |
| 238 | pVoice->actualPos = *pVoice->parentPos; |
| 239 | } |
| 240 | else if (pVoice->parentID != 0) |
| 241 | { |
| 242 | xEnt* ent = (xEnt*)(pVoice->parentID & 0xfffffffc); // uhh... |
| 243 | if (pVoice->flags & 0x800) |
| 244 | { |
| 245 | pVoice->actualPos = *(xVec3*)(ent); |
no test coverage detected