diff --git a/reccmp/isledecomp/compare/core.py b/reccmp/isledecomp/compare/core.py index a934a5be..f5fab329 100644 --- a/reccmp/isledecomp/compare/core.py +++ b/reccmp/isledecomp/compare/core.py @@ -586,7 +586,7 @@ def _match_thunks(self): # Now match the thunks from orig where we can. for orig_thunk, orig_addr in self.orig_bin.thunks: orig_func = self._db.get_by_orig(orig_addr) - if orig_func is None: + if orig_func is None or orig_func.recomp_addr is None: continue # Check whether the thunk destination is a matched symbol