|
|
@ -754,8 +754,8 @@ fn new_character_from_preview(user: &UserAccountEntity, preview: &CharacterPrevi |
|
|
|
let mut character = NewCharacterEntity::new(user.id);
|
|
|
|
character.slot = preview.slot;
|
|
|
|
character.name = String::from_utf16_lossy(&preview.character.name).trim_matches(char::from(0)).into();
|
|
|
|
character.section_id = preview.character.section_id.into();
|
|
|
|
character.char_class = preview.character.ch_class.into();
|
|
|
|
character.section_id = preview.character.section_id;
|
|
|
|
character.char_class = preview.character.ch_class;
|
|
|
|
character.appearance.costume = preview.character.costume;
|
|
|
|
character.appearance.skin = preview.character.skin;
|
|
|
|
character.appearance.face = preview.character.face;
|
|
|
@ -810,8 +810,8 @@ impl<'a> SelectScreenCharacterBuilder<'a> { |
|
|
|
//model: character.model,
|
|
|
|
//_unused: [0; 15],
|
|
|
|
//name_color_checksum: character.name_color_checksum,
|
|
|
|
section_id: character.section_id.into(),
|
|
|
|
ch_class: character.char_class.into(),
|
|
|
|
section_id: character.section_id,
|
|
|
|
ch_class: character.char_class,
|
|
|
|
//v2flags: character.v2flags,
|
|
|
|
//version: character.version,
|
|
|
|
//v1flags: character.v1flags,
|
|
|
|