Refactor: Replace magic values by enum values (#865)

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-04-28 13:27:17 +02:00
committed by GitHub
parent dede20000f
commit b17d76c2cc
2 changed files with 5 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ void Radio::Stop()
if (m_state->IsActive()) {
LegoWorld* world = CurrentWorld();
MxControlPresenter* presenter = (MxControlPresenter*) world->Find(world->GetAtom(), 18);
MxControlPresenter* presenter = (MxControlPresenter*) world->Find(world->GetAtom(), IsleScript::c_Radio_Ctl);
if (presenter) {
presenter->VTable0x6c(0);