diff --git a/panda/src/collide/collisionHandlerEvent.h b/panda/src/collide/collisionHandlerEvent.h index a2698e9d30..bc6db4169a 100644 --- a/panda/src/collide/collisionHandlerEvent.h +++ b/panda/src/collide/collisionHandlerEvent.h @@ -95,7 +95,7 @@ public: } static void init_type() { CollisionHandler::init_type(); - register_type(_type_handle, "CollisionHandlerHighestEvent", + register_type(_type_handle, "CollisionHandlerEvent", CollisionHandler::get_class_type()); } virtual TypeHandle get_type() const { diff --git a/panda/src/collide/collisionHandlerHighestEvent.h b/panda/src/collide/collisionHandlerHighestEvent.h index f655e4a8b5..37beed36b4 100755 --- a/panda/src/collide/collisionHandlerHighestEvent.h +++ b/panda/src/collide/collisionHandlerHighestEvent.h @@ -53,7 +53,7 @@ public: static void init_type() { CollisionHandler::init_type(); register_type(_type_handle, "CollisionHandlerHighestEvent", - CollisionHandler::get_class_type()); + CollisionHandlerEvent::get_class_type()); } virtual TypeHandle get_type() const { return get_class_type();