fix for compiler fault

This commit is contained in:
David Rose 2001-08-06 05:47:07 +00:00
parent 06fb9edb9b
commit d191e37948
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ xform(const LMatrix4f &mat) {
new_bounds.push_back((GeometricBoundingVolume *)NULL);
} else {
const GeometricBoundingVolume *old_bound = get_local_bound(c);
GeometricBoundingVolume *new_bound;
DCAST_INTO_V(new_bound, old_bound->make_copy());
GeometricBoundingVolume *new_bound =
DCAST(GeometricBoundingVolume, old_bound->make_copy());
new_bound->xform(mat);
new_bounds.push_back(new_bound);
}