Changes between Initial Version and Version 1 of Ticket #4450, comment 1


Ignore:
Timestamp:
Mar 24, 2018, 6:54:10 PM (6 years ago)
Author:
Inari

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4450, comment 1

    initial v1  
    1212* CMapSummaryReader tries to change the extension of the path to ".xml" [source:ps/trunk/source/graphics/MapReader.cpp#L341]
    1313* to change the extension VfsPath gets the Basename
    14 * To get the basename it of course chops off the extension. It thinks anything after the `.` is the extension, so the new path is just `.xml` without any name, which of course does not exist.
     14* To get the basename it of course chops off the current extension and then adds the new one. It thinks anything after the `.` is the extension and removes everything past it. Thus the new path is just `.xml` without any name, which of course does not exist.
    1515
    1616Even if we don't support periods in filenames, if the game fails to load a map it should just not include the map in the maps the player can choose from instead of hanging in the loading screen.