* fix backslashes in opened by cmd line map path = fix duplicates in recent maps list

This commit is contained in:
Garux
2018-04-21 23:26:40 +03:00
parent 460df292ff
commit 16c00ac54c
3 changed files with 9 additions and 10 deletions

View File

@@ -654,8 +654,8 @@ int main( int argc, char* argv[] ){
hide_splash();
if( g_openCmdMap && *g_openCmdMap ){
Map_LoadFile( g_openCmdMap );
if( !g_openMapByCmd.empty() ){
Map_LoadFile( g_openMapByCmd.c_str() );
}
else if ( g_bLoadLastMap && !g_strLastMap.empty() ) {
Map_LoadFile( g_strLastMap.c_str() );