With some maps containing non ASCII characters, the mapName when put into a replay name becomes a jumbled mess. For example Empire of the Sun becomes:
žçÀÇ Á¦±¹ 1.
If we use the mapFileName instead, we will get a more accurate replay file naming structure.
Changing
|
rn_MapName = mapName().substr(0, 16); |
To mapFileName() seems to do the trick.
Reactions are currently unavailable
With some maps containing non ASCII characters, the mapName when put into a replay name becomes a jumbled mess. For example Empire of the Sun becomes:
žçÀÇ Á¦±¹ 1.
If we use the mapFileName instead, we will get a more accurate replay file naming structure.
Changing
bwapi/bwapi/BWAPI/Source/BWAPI/GameEvents.cpp
Line 264 in 3438abd
To mapFileName() seems to do the trick.