diff --git a/panda/src/pgraph/nodePath.cxx b/panda/src/pgraph/nodePath.cxx index 449b9e41b2..47d9bb7f13 100644 --- a/panda/src/pgraph/nodePath.cxx +++ b/panda/src/pgraph/nodePath.cxx @@ -2818,7 +2818,7 @@ has_tex_transform(TextureStage *stage) const { //////////////////////////////////////////////////////////////////// CPT(TransformState) NodePath:: get_tex_transform(TextureStage *stage) const { - nassertr_always(!is_empty(), false); + nassertr_always(!is_empty(), NULL); const RenderAttrib *attrib = node()->get_attrib(TexMatrixAttrib::get_class_type());