16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 12:39:17 +02:00

minor ai logic enhancements, minor bug fixes

This commit is contained in:
tmj-fstate
2018-09-03 13:26:35 +02:00
parent 6d16d52356
commit bd5968cb4b
6 changed files with 100 additions and 103 deletions

View File

@@ -38,7 +38,8 @@ opengl_material::deserialize_mapping( cParser &Input, int const Priority, bool c
if( ( true == key.empty() ) || ( key == "}" ) ) { return false; }
auto const value { Input.getToken<std::string>( true, "\n\r\t ,;" ) };
// NOTE: comma can be part of legacy file names, so we don't treat it as a separator here
auto const value { Input.getToken<std::string>( true, "\n\r\t ;" ) };
if( Priority != -1 ) {
// regular attribute processing mode