aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Ad/AdScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Ad/AdScene.cpp')
-rw-r--r--engines/wintermute/Ad/AdScene.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/wintermute/Ad/AdScene.cpp b/engines/wintermute/Ad/AdScene.cpp
index e8229a3351..c21d694468 100644
--- a/engines/wintermute/Ad/AdScene.cpp
+++ b/engines/wintermute/Ad/AdScene.cpp
@@ -2519,6 +2519,9 @@ HRESULT CAdScene::PersistState(bool Saving) {
else node->_region->_active = NodeState->_active;
}
break;
+ default:
+ warning("CAdScene::PersistState - unhandled enum");
+ break;
}
}
}
@@ -2703,6 +2706,9 @@ HRESULT CAdScene::GetSceneObjects(CBArray<CAdObject *, CAdObject *> &Objects, bo
//if(RegionObj.GetSize() > 0) Objects.Append(RegionObj);
}
break;
+ default:
+ warning("CAdScene::GetSceneObjects - Unhandled enum");
+ break;
}
}
}