Browse Source

fix compiler dumbness

rdb 13 years ago
parent
commit
83ffe90202
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/physics/physical.I

+ 1 - 1
panda/src/physics/physical.I

@@ -148,7 +148,7 @@ get_physical_node() const {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 INLINE NodePath Physical::
 INLINE NodePath Physical::
 get_physical_node_path() const {
 get_physical_node_path() const {
-  return NodePath(_physical_node);
+  return NodePath((PandaNode*) _physical_node);
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////