mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
Implement CScriptSound and bug fixes
This commit is contained in:
@@ -166,7 +166,7 @@ void CCollisionActor::OnScanStateChanged(CActor::EScanState state, CStateManager
|
||||
void CCollisionActor::Touch(CActor& actor, CStateManager& mgr)
|
||||
{
|
||||
x2fc_lastTouched = actor.GetUniqueId();
|
||||
mgr.SendScriptMsgAlways(x25c_owner, GetUniqueId(), EScriptObjectMessage::InternalMessage08);
|
||||
mgr.SendScriptMsgAlways(x25c_owner, GetUniqueId(), EScriptObjectMessage::Touched);
|
||||
}
|
||||
|
||||
zeus::CVector3f CCollisionActor::GetOrbitPosition(const CStateManager&) const { return GetTouchBounds()->center(); }
|
||||
|
||||
Reference in New Issue
Block a user