mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
TCastToPtr adjustments
This commit is contained in:
@@ -40,7 +40,8 @@ CListeningAiList::CListeningAiList()
|
||||
|
||||
bool CListeningAiList::IsQualified(const CEntity& ent)
|
||||
{
|
||||
return TCastToConstPtr<CPatterned>(ent);
|
||||
TCastToConstPtr<CAi> ai(ent);
|
||||
return ai && ai->IsListening();
|
||||
}
|
||||
|
||||
CAiWaypointList::CAiWaypointList()
|
||||
|
||||
Reference in New Issue
Block a user