fix double/float conversion
This commit is contained in:
parent
dd7e2d7004
commit
fe50d79496
@ -30,7 +30,7 @@ bool InterestingThing::IsTheSameAs(InterestingThing *otherObj) {
|
|||||||
float equalDistance = equalityDistance;
|
float equalDistance = equalityDistance;
|
||||||
float equalAngle = equalityAngle;
|
float equalAngle = equalityAngle;
|
||||||
if (otherObj->type == 0x80 || otherObj->id == 0x80) {
|
if (otherObj->type == 0x80 || otherObj->id == 0x80) {
|
||||||
equalDistance = 0.1;
|
equalDistance = 0.1f;
|
||||||
equalAngle = 10;
|
equalAngle = 10;
|
||||||
}
|
}
|
||||||
// printf(" %d %f (%f %f) is same as %f (%f %f)\n", otherObj->type,
|
// printf(" %d %f (%f %f) is same as %f (%f %f)\n", otherObj->type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user