fix long name truncation on non-BB versions
This commit is contained in:
+2
-2
@@ -76,7 +76,7 @@ PlayerDispDataBB PlayerDispDataDCPCV3::to_bb() const {
|
|||||||
bb.stats = this->stats;
|
bb.stats = this->stats;
|
||||||
bb.visual = this->visual;
|
bb.visual = this->visual;
|
||||||
bb.visual.name = " 0";
|
bb.visual.name = " 0";
|
||||||
bb.name = add_language_marker(this->visual.name, 'J');
|
bb.name = this->visual.name;
|
||||||
bb.config = this->config;
|
bb.config = this->config;
|
||||||
bb.technique_levels = this->v1_technique_levels;
|
bb.technique_levels = this->v1_technique_levels;
|
||||||
return bb;
|
return bb;
|
||||||
@@ -90,7 +90,7 @@ PlayerDispDataDCPCV3 PlayerDispDataBB::to_dcpcv3() const {
|
|||||||
PlayerDispDataDCPCV3 ret;
|
PlayerDispDataDCPCV3 ret;
|
||||||
ret.stats = this->stats;
|
ret.stats = this->stats;
|
||||||
ret.visual = this->visual;
|
ret.visual = this->visual;
|
||||||
ret.visual.name = remove_language_marker(this->name);
|
ret.visual.name = this->name;
|
||||||
ret.config = this->config;
|
ret.config = this->config;
|
||||||
ret.v1_technique_levels = this->technique_levels;
|
ret.v1_technique_levels = this->technique_levels;
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user