mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 07:07:42 +00:00
Lots of HUD-related implementations
This commit is contained in:
@@ -339,4 +339,16 @@ bool CActor::CanDrawStatic() const
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
const CScannableObjectInfo* CActor::GetScannableObjectInfo() const
|
||||
{
|
||||
if (!x98_scanObjectInfo)
|
||||
return nullptr;
|
||||
|
||||
TToken<CScannableObjectInfo>& info = *x98_scanObjectInfo;
|
||||
if (!info || !info.IsLoaded())
|
||||
return nullptr;
|
||||
|
||||
return info.GetObj();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user