Lets the BSP loader find textures inserted with relative paths. Thx@ curaga for patch (#208).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5471 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
f93e6dfd74
commit
48f0b799b0
|
@ -856,6 +856,10 @@ namespace quake3
|
|||
loadFile.append ( extension[g] );
|
||||
}
|
||||
|
||||
texture = driver->findTexture( loadFile );
|
||||
if ( texture )
|
||||
break;
|
||||
|
||||
if ( fileSystem->existFile ( loadFile ) )
|
||||
{
|
||||
texture = driver->getTexture( loadFile );
|
||||
|
|
Loading…
Reference in New Issue