Removed functions that are deprecated in irrlicht 1.8.

Note that you need the latest dependency packages to build STK now!!!!!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-04-03 13:52:32 +00:00
parent 0648138bf0
commit 0f938f2863
2 changed files with 4 additions and 4 deletions

View File

@ -58,9 +58,9 @@ bool extract_zip(const std::string &from, const std::string &to)
{
//Add the zip to the file system
IFileSystem *file_system = irr_driver->getDevice()->getFileSystem();
if(!file_system->addZipFileArchive(from.c_str(),
/*ignoreCase*/false,
/*ignorePath*/true) )
if(!file_system->addFileArchive(from.c_str(),
/*ignoreCase*/false,
/*ignorePath*/true, io::EFAT_ZIP))
{
return false;
}

View File

@ -163,7 +163,7 @@ void PhysicalObject::init()
irr_driver->getSceneManager()->getMeshManipulator();
core::matrix4 transform(core::matrix4::EM4CONST_IDENTITY); //
transform.setTranslation(offset_from_center.toIrrVector());
mesh_manipulator->transformMesh(mesh, transform);
mesh_manipulator->transform(mesh, transform);
// 2. Create the rigid object
// --------------------------