fix class replacement for v3/v2 compatibility
This commit is contained in:
@@ -22,12 +22,12 @@ FileContentsCache player_files_cache(300 * 1000 * 1000);
|
||||
void PlayerDispDataDCPCV3::enforce_lobby_join_limits(GameVersion target_version) {
|
||||
if ((target_version == GameVersion::PC) || (target_version == GameVersion::DC)) {
|
||||
// V1/V2 have fewer classes, so we'll substitute some here
|
||||
if (this->visual.char_class == 11) {
|
||||
this->visual.char_class = 0; // FOmar -> HUmar
|
||||
} else if (this->visual.char_class == 10) {
|
||||
this->visual.char_class = 1; // RAmarl -> HUnewearl
|
||||
} else if (this->visual.char_class == 9) {
|
||||
if (this->visual.char_class == 9) {
|
||||
this->visual.char_class = 5; // HUcaseal -> RAcaseal
|
||||
} else if (this->visual.char_class == 10) {
|
||||
this->visual.char_class = 0; // FOmar -> HUmar
|
||||
} else if (this->visual.char_class == 11) {
|
||||
this->visual.char_class = 1; // RAmarl -> HUnewearl
|
||||
}
|
||||
|
||||
// V1/V2 has fewer costumes, so substitute them here too
|
||||
|
||||
Reference in New Issue
Block a user