mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
Move some collision functions to CGameCollision.cpp
This commit is contained in:
@@ -390,7 +390,7 @@ bool CActorLights::BuildAreaLightList(const CStateManager& mgr, const CGameArea&
|
||||
{
|
||||
/* Note brightest light contact */
|
||||
delta = delta * 1.f / deltaMag;
|
||||
actorToLightContact = CGameCollision::TestLightRayIntersection(area, vec, delta, deltaMag, filter);
|
||||
actorToLightContact = CGameCollision::RayStaticIntersectionArea(area, vec, delta, deltaMag, filter);
|
||||
if (i == 0)
|
||||
{
|
||||
x299_24_inBrightLight = actorToLightContact;
|
||||
|
||||
Reference in New Issue
Block a user