mirror of
https://github.com/zeldaret/botw
synced 2026-07-27 14:50:51 -04:00
ksys/phys: Match CapsuleBody::setRadius
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user