From e7ec13b9315f60c83440caa04d811535806bdc56 Mon Sep 17 00:00:00 2001 From: Emmanuel Jacyna Date: Fri, 1 Mar 2024 21:31:32 +1100 Subject: [PATCH] Fix compile errors --- bak/scene.cpp | 4 ++-- gui/staticTTM.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bak/scene.cpp b/bak/scene.cpp index 3c43bdf..0ee5b56 100644 --- a/bak/scene.cpp +++ b/bak/scene.cpp @@ -369,7 +369,7 @@ std::unordered_map LoadScenes(FileBuffer& fb) { imageSlots[*imageSlot] = ImageSlot{}; } - imageSlots[*imageSlot].mImage = name; + //imageSlots[*imageSlot].mImage = name; } break; case Actions::LOAD_SCREEN: { @@ -430,7 +430,7 @@ std::unordered_map LoadScenes(FileBuffer& fb) case Actions::UPDATE: { currentScene.mActions.emplace_back(Update{}); - }; + } break; default: logger.Debug() << "Unhandled action: " << chunk.mAction << "\n"; break; diff --git a/gui/staticTTM.cpp b/gui/staticTTM.cpp index 47fac4e..c2619e3 100644 --- a/gui/staticTTM.cpp +++ b/gui/staticTTM.cpp @@ -184,6 +184,8 @@ StaticTTM::StaticTTM( // Doesn't really do anything... // in the future maybe pop the clip region // so we could add another one? + }, + [&](const BAK::Update&){ } }, action