[Scummvm-git-logs] scummvm master -> da0857e10f8b6ae28267af3fd1a6ef86888a6ca5

dreammaster dreammaster at scummvm.org
Tue Jan 3 02:59:21 CET 2017


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:
da0857e10f TITANIC: Fix rendering messages for Scraliontis & Brobostigon


Commit: da0857e10f8b6ae28267af3fd1a6ef86888a6ca5
    https://github.com/scummvm/scummvm/commit/da0857e10f8b6ae28267af3fd1a6ef86888a6ca5
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-01-02T20:59:12-05:00

Commit Message:
TITANIC: Fix rendering messages for Scraliontis & Brobostigon

Changed paths:
    engines/titanic/game/missiveomat.cpp


diff --git a/engines/titanic/game/missiveomat.cpp b/engines/titanic/game/missiveomat.cpp
index e48da78..fa0a9d7 100644
--- a/engines/titanic/game/missiveomat.cpp
+++ b/engines/titanic/game/missiveomat.cpp
@@ -294,8 +294,8 @@ bool CMissiveOMat::MissiveOMatActionMsg(CMissiveOMatActionMsg *msg) {
 		if (welcome) {
 			CString str = CString::format(
 				"Missive %d of %d.\nFrom: %s\nTo: %s\n\n%s\n",
-				_messageNum + 1, _totalMessages, _from[_messageNum].c_str(),
-				_to[_messageNum].c_str(), _messages[_messageNum].c_str());
+				_messageNum + 1, _totalMessages, _from[_account * 19 + _messageNum].c_str(),
+				_to[_account * 19 + _messageNum].c_str(), _messages[_account * 19 + _messageNum].c_str());
 
 			welcome->setText(str);
 		}





More information about the Scummvm-git-logs mailing list