Remove error when dropping tires in battle mode when kart dead
This commit is contained in:
parent
3bffe1f1a7
commit
3105407b2f
@ -439,7 +439,7 @@ TrackObjectPresentationMesh::TrackObjectPresentationMesh(
|
||||
World::getWorld()->getIdent() == IDENT_CUTSCENE);
|
||||
|
||||
m_model_file = model_file;
|
||||
//file_manager->pushTextureSearchPath(StringUtils::getPath(model_file));
|
||||
file_manager->pushTextureSearchPath(StringUtils::getPath(model_file), "");
|
||||
#ifndef SERVER_ONLY
|
||||
if (file_manager->fileExists(model_file))
|
||||
{
|
||||
@ -467,7 +467,7 @@ TrackObjectPresentationMesh::TrackObjectPresentationMesh(
|
||||
throw std::runtime_error("Model '" + model_file + "' cannot be found");
|
||||
}
|
||||
|
||||
//file_manager->popTextureSearchPath();
|
||||
file_manager->popTextureSearchPath();
|
||||
init(NULL, NULL, true);
|
||||
} // TrackObjectPresentationMesh
|
||||
|
||||
|
@ -185,6 +185,7 @@ public:
|
||||
class TrackObjectPresentationLibraryNode : public TrackObjectPresentationSceneNode
|
||||
{
|
||||
TrackObject* m_parent;
|
||||
using TrackObjectPresentationSceneNode::move;
|
||||
public:
|
||||
TrackObjectPresentationLibraryNode(TrackObject* parent,
|
||||
const XMLNode& xml_node,
|
||||
|
Loading…
Reference in New Issue
Block a user