fix double/float conversion

This commit is contained in:
Pascal Serrarens 2024-05-14 12:16:39 +02:00
parent dd7e2d7004
commit fe50d79496

View File

@ -30,7 +30,7 @@ bool InterestingThing::IsTheSameAs(InterestingThing *otherObj) {
float equalDistance = equalityDistance;
float equalAngle = equalityAngle;
if (otherObj->type == 0x80 || otherObj->id == 0x80) {
equalDistance = 0.1;
equalDistance = 0.1f;
equalAngle = 10;
}
// printf(" %d %f (%f %f) is same as %f (%f %f)\n", otherObj->type,