Changes between Initial Version and Version 1 of Ticket #4450, comment 1
- Timestamp:
- Mar 24, 2018, 6:54:10 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4450, comment 1
initial v1 12 12 * CMapSummaryReader tries to change the extension of the path to ".xml" [source:ps/trunk/source/graphics/MapReader.cpp#L341] 13 13 * 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, sothe 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. 15 15 16 16 Even 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.