diff --git a/direct/src/plugin/p3dPackage.cxx b/direct/src/plugin/p3dPackage.cxx index b5a9b5c86e..58444cdf39 100755 --- a/direct/src/plugin/p3dPackage.cxx +++ b/direct/src/plugin/p3dPackage.cxx @@ -1449,9 +1449,12 @@ download_finished(bool success) { << ", failed hash check\n"; nout << "expected: "; _file_spec.output_hash(nout); - nout << "\n got: "; - _file_spec.get_actual_file()->output_hash(nout); nout << "\n"; + if (_file_spec.get_actual_file() != (FileSpec *)NULL) { + nout << " got: "; + _file_spec.get_actual_file()->output_hash(nout); + nout << "\n"; + } success = false; }