mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 02:32:18 +00:00
Don't convert JSON map files to JSON again. Only .map to .json
This commit is contained in:
parent
49eb54d1ad
commit
d634243631
1 changed files with 2 additions and 2 deletions
|
@ -605,7 +605,7 @@ CONSOLE_COMMAND( convertMap, "Convert .map file to new map format with polygons
|
|||
sprintf( mapName, "maps/%s.map", filename.c_str() );
|
||||
|
||||
idMapFile map;
|
||||
if( map.Parse( mapName, false, false ) )
|
||||
if( map.Parse( mapName, true, false ) )
|
||||
{
|
||||
map.ConvertToPolygonMeshFormat();
|
||||
|
||||
|
@ -648,7 +648,7 @@ CONSOLE_COMMAND( convertMapToJSON, "Convert .map file to new map format with pol
|
|||
sprintf( mapName, "maps/%s.map", filename.c_str() );
|
||||
|
||||
idMapFile map;
|
||||
if( map.Parse( mapName, false, false ) )
|
||||
if( map.Parse( mapName, true, false ) )
|
||||
{
|
||||
map.ConvertToPolygonMeshFormat();
|
||||
|
||||
|
|
Loading…
Reference in a new issue