16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 11:29:18 +02:00

open lowercase relation textures

This commit is contained in:
milek7
2018-02-01 19:31:23 +01:00
parent 03b1f16d10
commit 6987ad8af8

View File

@@ -25,6 +25,7 @@ http://mozilla.org/MPL/2.0/.
#include "sound.h"
#include "MdlMngr.h"
#include "renderer.h"
#include "mctools.h"
// Ra: taki zapis funkcjonuje lepiej, ale może nie jest optymalny
#define vWorldFront Math3D::vector3(0, 0, 1)
@@ -5424,7 +5425,7 @@ void TDynamicObject::DestinationSet(std::string to, std::string numer)
for( auto const &destination : destinations ) {
auto material = TextureTest( destination );
auto material = TextureTest( ToLower(destination) );
if( false == material.empty() ) {
m_materialdata.replacable_skins[ 4 ] = GfxRenderer.Fetch_Material( material );
break;