mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-02 02:23:56 +00:00
Remove dead code hiding spectator ROIs during camera animations
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
32fd90d804
commit
32b2834c0b
@ -299,12 +299,6 @@ void ScenePlayer::Play(
|
|||||||
m_hasCamAnim = (!m_observerMode && m_category == e_camAnim && m_currentData->anim->GetCamAnim() != nullptr);
|
m_hasCamAnim = (!m_observerMode && m_category == e_camAnim && m_currentData->anim->GetCamAnim() != nullptr);
|
||||||
|
|
||||||
if (m_category == e_camAnim && !m_observerMode) {
|
if (m_category == e_camAnim && !m_observerMode) {
|
||||||
for (auto& p : m_participants) {
|
|
||||||
if (p.IsSpectator()) {
|
|
||||||
p.roi->SetVisibility(FALSE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Hide the player's ride vehicle — it would remain visible at the
|
// Hide the player's ride vehicle — it would remain visible at the
|
||||||
// pre-animation position while the player is teleported
|
// pre-animation position while the player is teleported
|
||||||
LegoROI* localVehicle = m_participants[0].vehicleROI;
|
LegoROI* localVehicle = m_participants[0].vehicleROI;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user