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

dreammaster noreply at scummvm.org
Tue Mar 8 03:55:15 UTC 2022


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:
f99be29c16 CHEWY: Fix inventory look wrapping for paper stack


Commit: f99be29c16221b66c67502ac5095a0a3811fc8bf
    https://github.com/scummvm/scummvm/commit/f99be29c16221b66c67502ac5095a0a3811fc8bf
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2022-03-07T19:54:55-08:00

Commit Message:
CHEWY: Fix inventory look wrapping for paper stack

Changed paths:
    engines/chewy/atds.cpp


diff --git a/engines/chewy/atds.cpp b/engines/chewy/atds.cpp
index c0f679a08f1..23b07eff02c 100644
--- a/engines/chewy/atds.cpp
+++ b/engines/chewy/atds.cpp
@@ -703,6 +703,10 @@ char *Atdsys::ats_get_txt(int16 txt_nr, int16 txt_mode, int16 *txt_anz, int16 mo
 			str_[39] = '\0';
 			str_[46] = ' ';
 		}
+		if (txt_nr == PAPIER_INV && str_[32] == ' ') {
+			str_[32] = '\0';
+			*txt_anz = 2;
+		}
 	}
 
 	return str_;




More information about the Scummvm-git-logs mailing list