*** empty log message ***

This commit is contained in:
David Rose 2001-05-01 18:17:58 +00:00
parent cfc277ba6a
commit cec48f1ffd
1 changed files with 2 additions and 2 deletions

View File

@ -180,10 +180,10 @@ sorts_less_than(const EggMaterial &other, int eq) const {
return get_spec().compare_to(other.get_spec()) < 0;
}
if (has_shininess() && get_shininess() != other.get_shininess()) {
return get_shininess() < other.get_shininess() ? -1 : 1;
return get_shininess() < other.get_shininess();
}
if (has_local() && get_local() != other.get_local()) {
return get_local() - other.get_local();
return get_local() < other.get_local();
}
}