diff --git a/panda/src/physics/physical.I b/panda/src/physics/physical.I index 8ac35b29fe..e46bb228fd 100644 --- a/panda/src/physics/physical.I +++ b/panda/src/physics/physical.I @@ -148,7 +148,7 @@ get_physical_node() const { //////////////////////////////////////////////////////////////////// INLINE NodePath Physical:: get_physical_node_path() const { - return NodePath(_physical_node); + return NodePath((PandaNode*) _physical_node); } ////////////////////////////////////////////////////////////////////