Explorar o código

fix for compiler fault

David Rose %!s(int64=24) %!d(string=hai) anos
pai
achega
d191e37948
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      panda/src/collide/collisionLevelState.cxx

+ 2 - 2
panda/src/collide/collisionLevelState.cxx

@@ -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);
     }