LibCore: Remove redundant check in CObject::dispatch_event()

This commit is contained in:
Andreas Kling 2020-01-23 18:08:18 +01:00
parent b90af9b1ed
commit a93f35ac71

View file

@ -194,7 +194,7 @@ void CObject::dispatch_event(CEvent& e, CObject* stay_within)
e.accept();
break;
}
} while (target && target != stay_within && !e.is_accepted());
} while (target && !e.is_accepted());
}
bool CObject::is_visible_for_timer_purposes() const