Generate one trigger per SenItem instead of per SenTree (#5483)

This commit is contained in:
Geza Lore
2024-09-25 10:35:50 +01:00
committed by GitHub
parent 6c61a9aff3
commit 3bc09d49fb
10 changed files with 253 additions and 186 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ class OrderMoveGraphBuilder final {
if (senTreep->sensesp()->nextp()) return nullptr;
// Find the original AstSenTree
auto it = m_trigToSen.find(senTreep->sensesp());
auto it = m_trigToSen.find(senTreep);
if (it == m_trigToSen.end()) return nullptr;
// If more than one AstSenItems on the original, then not a simple AstSenTree