[Scummvm-git-logs] scummvm master -> 32a4cbb1dd3f19c262ab592d06d18fec2530464d

dreammaster noreply at scummvm.org
Tue May 30 21:53:42 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
32a4cbb1dd MM: MM1: Fixes for creating new characters


Commit: 32a4cbb1dd3f19c262ab592d06d18fec2530464d
    https://github.com/scummvm/scummvm/commit/32a4cbb1dd3f19c262ab592d06d18fec2530464d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2023-05-30T14:53:35-07:00

Commit Message:
MM: MM1: Fixes for creating new characters

Changed paths:
    engines/mm/mm1/views_enh/create_characters.cpp


diff --git a/engines/mm/mm1/views_enh/create_characters.cpp b/engines/mm/mm1/views_enh/create_characters.cpp
index c4dcff75839..d69f428f7e7 100644
--- a/engines/mm/mm1/views_enh/create_characters.cpp
+++ b/engines/mm/mm1/views_enh/create_characters.cpp
@@ -27,7 +27,7 @@ namespace MM {
 namespace MM1 {
 namespace ViewsEnh {
 
-#define RIGHT_X 220
+#define RIGHT_X 200
 
 void CreateCharacters::NewCharacter::clear() {
 	Common::fill(_attribs1, _attribs1 + 7, 0);
@@ -135,6 +135,7 @@ void CreateCharacters::NewCharacter::save() {
 	re._backpack[0]._id = 1;
 	const int ALIGNMENT_VALS[3] = { 0, 0x10, 0x20 };
 	re._alignmentCtr = ALIGNMENT_VALS[re._alignmentInitial];
+	re._portrait = _portrait;
 
 	g_globals->_roster.save();
 }




More information about the Scummvm-git-logs mailing list