mirror of https://github.com/zeldaret/botw.git
ksys/phys: Match CapsuleBody::setRadius
This commit is contained in:
parent
64cc3c5856
commit
7791352833
|
|
@ -83575,7 +83575,7 @@ Address,Quality,Size,Name
|
|||
0x0000007100faba68,O,000060,_ZNK4ksys4phys11CapsuleBody11getVerticesEPN4sead7Vector3IfEES5_
|
||||
0x0000007100fabac4,O,000064,_ZN4ksys4phys11CapsuleBodyD1Ev
|
||||
0x0000007100fabb04,O,000072,_ZN4ksys4phys11CapsuleBodyD0Ev
|
||||
0x0000007100fabb4c,m,000060,_ZN4ksys4phys11CapsuleBody9setRadiusEf
|
||||
0x0000007100fabb4c,O,000060,_ZN4ksys4phys11CapsuleBody9setRadiusEf
|
||||
0x0000007100fabb88,O,000192,_ZN4ksys4phys11CapsuleBody11setVerticesERKN4sead7Vector3IfEES6_
|
||||
0x0000007100fabc48,O,000140,_ZNK4ksys4phys11CapsuleBody9getVolumeEv
|
||||
0x0000007100fabcd4,O,000008,_ZN4ksys4phys11CapsuleBody8getShapeEv
|
||||
|
|
|
|||
|
Can't render this file because it is too large.
|
|
|
@ -55,7 +55,7 @@ CapsuleBody::~CapsuleBody() {
|
|||
}
|
||||
|
||||
bool CapsuleBody::setRadius(f32 r) {
|
||||
if (r <= 0.0f || r == radius) {
|
||||
if (r == radius || r <= 0.0f) {
|
||||
return false;
|
||||
}
|
||||
radius = r;
|
||||
|
|
|
|||
Loading…
Reference in New Issue