assert in LegoCarBUild::InitPresenter is BETA10-only

This commit is contained in:
Anonymous Maarten 2025-05-29 05:17:21 +02:00
parent 6d69514eac
commit 1a41b62f6f

View File

@ -271,7 +271,9 @@ void LegoCarBuild::InitPresenters()
m_Decals_Ctl1 = (MxControlPresenter*) Find("MxControlPresenter", "Decals_Ctl1");
m_Decals_Ctl2 = (MxControlPresenter*) Find("MxControlPresenter", "Decals_Ctl2");
m_Decal_Bitmap = (MxStillPresenter*) Find("MxStillPresenter", "Decal_Bitmap");
#ifdef BETA10
assert(m_Decal_Bitmap);
#endif
if (m_Decal_Bitmap) {
m_Decals_Ctl3 = (MxControlPresenter*) Find("MxControlPresenter", "Decals_Ctl3");
assert(m_Decals_Ctl3);