Updates layers of all animations attached to the given techno.
| 251 | |
| 252 | // Updates layers of all animations attached to the given techno. |
| 253 | void TechnoExt::UpdateAttachedAnimLayers(TechnoClass* pThis) |
| 254 | { |
| 255 | // Skip if has no attached animations. |
| 256 | if (!pThis->HasParachute) |
| 257 | return; |
| 258 | |
| 259 | // Could possibly be faster to track the attached anims in TechnoExt but the profiler doesn't show this as a performance hog so whatever. |
| 260 | for (auto pAnim : AnimClass::Array) |
| 261 | { |
| 262 | if (pAnim->OwnerObject != pThis) |
| 263 | continue; |
| 264 | |
| 265 | DisplayClass::Instance.Submit(pAnim); |
| 266 | } |
| 267 | } |
nothing calls this directly
no outgoing calls
no test coverage detected