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-e03cc46cb475
master
cutealien 2017-06-04 21:36:13 +00:00
parent f93e6dfd74
commit 48f0b799b0
1 changed files with 4 additions and 0 deletions

View File

@ -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 );