mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 02:29:17 +02:00
fix: replace backslashes in TAnimModel parsing
This commit is contained in:
@@ -447,6 +447,7 @@ bool TAnimModel::Load(cParser *parser, bool ter)
|
|||||||
std::string name = parser->getToken<std::string>();
|
std::string name = parser->getToken<std::string>();
|
||||||
std::string texture = parser->getToken<std::string>( false ); // tekstura (zmienia na małe)
|
std::string texture = parser->getToken<std::string>( false ); // tekstura (zmienia na małe)
|
||||||
replace_slashes( name );
|
replace_slashes( name );
|
||||||
|
replace_slashes( texture );
|
||||||
if (!Init( name, texture ))
|
if (!Init( name, texture ))
|
||||||
{
|
{
|
||||||
if (name != "notload")
|
if (name != "notload")
|
||||||
|
|||||||
Reference in New Issue
Block a user