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

fix: replace backslashes in TAnimModel parsing

This commit is contained in:
milek7
2019-01-27 21:53:15 +01:00
parent 0bf7238b00
commit 4dc7b3d3d0

View File

@@ -447,6 +447,7 @@ bool TAnimModel::Load(cParser *parser, bool ter)
std::string name = parser->getToken<std::string>();
std::string texture = parser->getToken<std::string>( false ); // tekstura (zmienia na małe)
replace_slashes( name );
replace_slashes( texture );
if (!Init( name, texture ))
{
if (name != "notload")