mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 18:39:18 +02:00
open lowercase relation textures
This commit is contained in:
@@ -25,6 +25,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
#include "MdlMngr.h"
|
#include "MdlMngr.h"
|
||||||
#include "renderer.h"
|
#include "renderer.h"
|
||||||
|
#include "mctools.h"
|
||||||
|
|
||||||
// Ra: taki zapis funkcjonuje lepiej, ale może nie jest optymalny
|
// Ra: taki zapis funkcjonuje lepiej, ale może nie jest optymalny
|
||||||
#define vWorldFront Math3D::vector3(0, 0, 1)
|
#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 ) {
|
for( auto const &destination : destinations ) {
|
||||||
|
|
||||||
auto material = TextureTest( destination );
|
auto material = TextureTest( ToLower(destination) );
|
||||||
if( false == material.empty() ) {
|
if( false == material.empty() ) {
|
||||||
m_materialdata.replacable_skins[ 4 ] = GfxRenderer.Fetch_Material( material );
|
m_materialdata.replacable_skins[ 4 ] = GfxRenderer.Fetch_Material( material );
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user