mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 16:24:55 +00:00
Various movement and HUD bug fixes
This commit is contained in:
@@ -7,7 +7,7 @@ namespace urde
|
||||
{
|
||||
enum class EMaterialTypes
|
||||
{
|
||||
Unknown = 0,
|
||||
NoStepLogic = 0,
|
||||
Stone = 1,
|
||||
Metal = 2,
|
||||
Grass = 3,
|
||||
@@ -27,7 +27,7 @@ enum class EMaterialTypes
|
||||
Sand = 17,
|
||||
ProjectilePassthrough = 18,
|
||||
Solid = 19,
|
||||
Twenty = 20,
|
||||
NoPlatformCollision = 20,
|
||||
CameraPassthrough = 21,
|
||||
Wood = 22,
|
||||
Organic = 23,
|
||||
|
||||
@@ -664,6 +664,11 @@ bool CMetroidAreaCollider::MovingAABoxCollisionCheck_BoxVertexTri(const CCollisi
|
||||
{
|
||||
pointOut = float(d) * dir + point;
|
||||
normalOut = surf.GetNormal();
|
||||
if (normalOut.z > 100.f)
|
||||
{
|
||||
printf("");
|
||||
normalOut = surf.GetNormal();
|
||||
}
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user